package org.bukkit.craftbukkit.v1_20_R1.block.data.type;

import org.bukkit.block.data.type.EndPortalFrame;
import org.bukkit.craftbukkit.v1_20_R1.block.data.CraftBlockData;

public abstract class CraftEndPortalFrame extends CraftBlockData implements EndPortalFrame {

    private static final net.minecraft.world.level.block.state.properties.BooleanProperty EYE = getBoolean("eye");

    @Override
    public boolean hasEye() {
        return get(CraftEndPortalFrame.EYE);
    }

    @Override
    public void setEye(boolean eye) {
        set(CraftEndPortalFrame.EYE, eye);
    }
}
