@@ -7,12 +7,12 @@ public class CraftBisected extends CraftBlockData implements Bisected {
|
||||
private static final net.minecraft.server.BlockStateEnum<?> HALF = getEnum("half");
|
||||
|
||||
@Override
|
||||
public Half getHalf() {
|
||||
return get(HALF, Half.class);
|
||||
public org.bukkit.block.data.Bisected.Half getHalf() {
|
||||
return get(HALF, org.bukkit.block.data.Bisected.Half.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHalf(Half half) {
|
||||
public void setHalf(org.bukkit.block.data.Bisected.Half half) {
|
||||
set(HALF, half);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,12 +7,12 @@ public abstract class CraftFaceAttachable extends CraftBlockData implements Face
|
||||
private static final net.minecraft.server.BlockStateEnum<?> ATTACH_FACE = getEnum("face");
|
||||
|
||||
@Override
|
||||
public AttachedFace getAttachedFace() {
|
||||
return get(ATTACH_FACE, AttachedFace.class);
|
||||
public org.bukkit.block.data.FaceAttachable.AttachedFace getAttachedFace() {
|
||||
return get(ATTACH_FACE, org.bukkit.block.data.FaceAttachable.AttachedFace.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAttachedFace(AttachedFace face) {
|
||||
public void setAttachedFace(org.bukkit.block.data.FaceAttachable.AttachedFace face) {
|
||||
set(ATTACH_FACE, face);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,17 +7,17 @@ public abstract class CraftRail extends CraftBlockData implements Rail {
|
||||
private static final net.minecraft.server.BlockStateEnum<?> SHAPE = getEnum("shape");
|
||||
|
||||
@Override
|
||||
public Shape getShape() {
|
||||
return get(SHAPE, Shape.class);
|
||||
public org.bukkit.block.data.Rail.Shape getShape() {
|
||||
return get(SHAPE, org.bukkit.block.data.Rail.Shape.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShape(Shape shape) {
|
||||
public void setShape(org.bukkit.block.data.Rail.Shape shape) {
|
||||
set(SHAPE, shape);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.Set<Shape> getShapes() {
|
||||
return getValues(SHAPE, Shape.class);
|
||||
public java.util.Set<org.bukkit.block.data.Rail.Shape> getShapes() {
|
||||
return getValues(SHAPE, org.bukkit.block.data.Rail.Shape.class);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftBamboo extends CraftBlockData implements Bamboo {
|
||||
private static final net.minecraft.server.BlockStateEnum<?> LEAVES = getEnum("leaves");
|
||||
|
||||
@Override
|
||||
public Leaves getLeaves() {
|
||||
return get(LEAVES, Leaves.class);
|
||||
public org.bukkit.block.data.type.Bamboo.Leaves getLeaves() {
|
||||
return get(LEAVES, org.bukkit.block.data.type.Bamboo.Leaves.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setLeaves(Leaves leaves) {
|
||||
public void setLeaves(org.bukkit.block.data.type.Bamboo.Leaves leaves) {
|
||||
set(LEAVES, leaves);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,12 +9,12 @@ public abstract class CraftBed extends CraftBlockData implements Bed {
|
||||
private static final net.minecraft.server.BlockStateBoolean OCCUPIED = getBoolean("occupied");
|
||||
|
||||
@Override
|
||||
public Part getPart() {
|
||||
return get(PART, Part.class);
|
||||
public org.bukkit.block.data.type.Bed.Part getPart() {
|
||||
return get(PART, org.bukkit.block.data.type.Bed.Part.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPart(Part part) {
|
||||
public void setPart(org.bukkit.block.data.type.Bed.Part part) {
|
||||
set(PART, part);
|
||||
}
|
||||
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftBell extends CraftBlockData implements Bell {
|
||||
private static final net.minecraft.server.BlockStateEnum<?> ATTACHMENT = getEnum("attachment");
|
||||
|
||||
@Override
|
||||
public Attachment getAttachment() {
|
||||
return get(ATTACHMENT, Attachment.class);
|
||||
public org.bukkit.block.data.type.Bell.Attachment getAttachment() {
|
||||
return get(ATTACHMENT, org.bukkit.block.data.type.Bell.Attachment.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAttachment(Attachment leaves) {
|
||||
public void setAttachment(org.bukkit.block.data.type.Bell.Attachment leaves) {
|
||||
set(ATTACHMENT, leaves);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftChest extends CraftBlockData implements Chest {
|
||||
private static final net.minecraft.server.BlockStateEnum<?> TYPE = getEnum("type");
|
||||
|
||||
@Override
|
||||
public Type getType() {
|
||||
return get(TYPE, Type.class);
|
||||
public org.bukkit.block.data.type.Chest.Type getType() {
|
||||
return get(TYPE, org.bukkit.block.data.type.Chest.Type.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setType(Type type) {
|
||||
public void setType(org.bukkit.block.data.type.Chest.Type type) {
|
||||
set(TYPE, type);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftComparator extends CraftBlockData implements Comparat
|
||||
private static final net.minecraft.server.BlockStateEnum<?> MODE = getEnum("mode");
|
||||
|
||||
@Override
|
||||
public Mode getMode() {
|
||||
return get(MODE, Mode.class);
|
||||
public org.bukkit.block.data.type.Comparator.Mode getMode() {
|
||||
return get(MODE, org.bukkit.block.data.type.Comparator.Mode.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setMode(Mode mode) {
|
||||
public void setMode(org.bukkit.block.data.type.Comparator.Mode mode) {
|
||||
set(MODE, mode);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftDoor extends CraftBlockData implements Door {
|
||||
private static final net.minecraft.server.BlockStateEnum<?> HINGE = getEnum("hinge");
|
||||
|
||||
@Override
|
||||
public Hinge getHinge() {
|
||||
return get(HINGE, Hinge.class);
|
||||
public org.bukkit.block.data.type.Door.Hinge getHinge() {
|
||||
return get(HINGE, org.bukkit.block.data.type.Door.Hinge.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHinge(Hinge hinge) {
|
||||
public void setHinge(org.bukkit.block.data.type.Door.Hinge hinge) {
|
||||
set(HINGE, hinge);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftJigsaw extends CraftBlockData implements Jigsaw {
|
||||
private static final net.minecraft.server.BlockStateEnum<?> ORIENTATION = getEnum("orientation");
|
||||
|
||||
@Override
|
||||
public Orientation getOrientation() {
|
||||
return get(ORIENTATION, Orientation.class);
|
||||
public org.bukkit.block.data.type.Jigsaw.Orientation getOrientation() {
|
||||
return get(ORIENTATION, org.bukkit.block.data.type.Jigsaw.Orientation.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setOrientation(Orientation orientation) {
|
||||
public void setOrientation(org.bukkit.block.data.type.Jigsaw.Orientation orientation) {
|
||||
set(ORIENTATION, orientation);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,23 +11,23 @@ public abstract class CraftRedstoneWire extends CraftBlockData implements Redsto
|
||||
private static final net.minecraft.server.BlockStateEnum<?> WEST = getEnum("west");
|
||||
|
||||
@Override
|
||||
public Connection getFace(org.bukkit.block.BlockFace face) {
|
||||
public org.bukkit.block.data.type.RedstoneWire.Connection getFace(org.bukkit.block.BlockFace face) {
|
||||
switch (face) {
|
||||
case NORTH:
|
||||
return get(NORTH, Connection.class);
|
||||
return get(NORTH, org.bukkit.block.data.type.RedstoneWire.Connection.class);
|
||||
case EAST:
|
||||
return get(EAST, Connection.class);
|
||||
return get(EAST, org.bukkit.block.data.type.RedstoneWire.Connection.class);
|
||||
case SOUTH:
|
||||
return get(SOUTH, Connection.class);
|
||||
return get(SOUTH, org.bukkit.block.data.type.RedstoneWire.Connection.class);
|
||||
case WEST:
|
||||
return get(WEST, Connection.class);
|
||||
return get(WEST, org.bukkit.block.data.type.RedstoneWire.Connection.class);
|
||||
default:
|
||||
throw new IllegalArgumentException("Cannot have face " + face);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setFace(org.bukkit.block.BlockFace face, Connection connection) {
|
||||
public void setFace(org.bukkit.block.BlockFace face, org.bukkit.block.data.type.RedstoneWire.Connection connection) {
|
||||
switch (face) {
|
||||
case NORTH:
|
||||
set(NORTH, connection);
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftSlab extends CraftBlockData implements Slab {
|
||||
private static final net.minecraft.server.BlockStateEnum<?> TYPE = getEnum("type");
|
||||
|
||||
@Override
|
||||
public Type getType() {
|
||||
return get(TYPE, Type.class);
|
||||
public org.bukkit.block.data.type.Slab.Type getType() {
|
||||
return get(TYPE, org.bukkit.block.data.type.Slab.Type.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setType(Type type) {
|
||||
public void setType(org.bukkit.block.data.type.Slab.Type type) {
|
||||
set(TYPE, type);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftStairs extends CraftBlockData implements Stairs {
|
||||
private static final net.minecraft.server.BlockStateEnum<?> SHAPE = getEnum("shape");
|
||||
|
||||
@Override
|
||||
public Shape getShape() {
|
||||
return get(SHAPE, Shape.class);
|
||||
public org.bukkit.block.data.type.Stairs.Shape getShape() {
|
||||
return get(SHAPE, org.bukkit.block.data.type.Stairs.Shape.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShape(Shape shape) {
|
||||
public void setShape(org.bukkit.block.data.type.Stairs.Shape shape) {
|
||||
set(SHAPE, shape);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftStructureBlock extends CraftBlockData implements Stru
|
||||
private static final net.minecraft.server.BlockStateEnum<?> MODE = getEnum("mode");
|
||||
|
||||
@Override
|
||||
public Mode getMode() {
|
||||
return get(MODE, Mode.class);
|
||||
public org.bukkit.block.data.type.StructureBlock.Mode getMode() {
|
||||
return get(MODE, org.bukkit.block.data.type.StructureBlock.Mode.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setMode(Mode mode) {
|
||||
public void setMode(org.bukkit.block.data.type.StructureBlock.Mode mode) {
|
||||
set(MODE, mode);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftSwitch extends CraftBlockData implements Switch {
|
||||
private static final net.minecraft.server.BlockStateEnum<?> FACE = getEnum("face");
|
||||
|
||||
@Override
|
||||
public Face getFace() {
|
||||
return get(FACE, Face.class);
|
||||
public org.bukkit.block.data.type.Switch.Face getFace() {
|
||||
return get(FACE, org.bukkit.block.data.type.Switch.Face.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setFace(Face face) {
|
||||
public void setFace(org.bukkit.block.data.type.Switch.Face face) {
|
||||
set(FACE, face);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,12 +8,12 @@ public abstract class CraftTechnicalPiston extends CraftBlockData implements Tec
|
||||
private static final net.minecraft.server.BlockStateEnum<?> TYPE = getEnum("type");
|
||||
|
||||
@Override
|
||||
public Type getType() {
|
||||
return get(TYPE, Type.class);
|
||||
public org.bukkit.block.data.type.TechnicalPiston.Type getType() {
|
||||
return get(TYPE, org.bukkit.block.data.type.TechnicalPiston.Type.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setType(Type type) {
|
||||
public void setType(org.bukkit.block.data.type.TechnicalPiston.Type type) {
|
||||
set(TYPE, type);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,12 +21,12 @@ public abstract class CraftWall extends CraftBlockData implements Wall {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Height getHeight(org.bukkit.block.BlockFace face) {
|
||||
return get(HEIGHTS[face.ordinal()], Height.class);
|
||||
public org.bukkit.block.data.type.Wall.Height getHeight(org.bukkit.block.BlockFace face) {
|
||||
return get(HEIGHTS[face.ordinal()], org.bukkit.block.data.type.Wall.Height.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHeight(org.bukkit.block.BlockFace face, Height height) {
|
||||
public void setHeight(org.bukkit.block.BlockFace face, org.bukkit.block.data.type.Wall.Height height) {
|
||||
set(HEIGHTS[face.ordinal()], height);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftBamboo extends org.bukkit.craftbukkit.block.data.CraftBl
|
||||
private static final net.minecraft.server.BlockStateEnum<?> LEAVES = getEnum(net.minecraft.server.BlockBamboo.class, "leaves");
|
||||
|
||||
@Override
|
||||
public Leaves getLeaves() {
|
||||
return get(LEAVES, Leaves.class);
|
||||
public org.bukkit.block.data.type.Bamboo.Leaves getLeaves() {
|
||||
return get(LEAVES, org.bukkit.block.data.type.Bamboo.Leaves.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setLeaves(Leaves leaves) {
|
||||
public void setLeaves(org.bukkit.block.data.type.Bamboo.Leaves leaves) {
|
||||
set(LEAVES, leaves);
|
||||
}
|
||||
|
||||
|
||||
@@ -19,12 +19,12 @@ public final class CraftBed extends org.bukkit.craftbukkit.block.data.CraftBlock
|
||||
private static final net.minecraft.server.BlockStateBoolean OCCUPIED = getBoolean(net.minecraft.server.BlockBed.class, "occupied");
|
||||
|
||||
@Override
|
||||
public Part getPart() {
|
||||
return get(PART, Part.class);
|
||||
public org.bukkit.block.data.type.Bed.Part getPart() {
|
||||
return get(PART, org.bukkit.block.data.type.Bed.Part.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPart(Part part) {
|
||||
public void setPart(org.bukkit.block.data.type.Bed.Part part) {
|
||||
set(PART, part);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftBell extends org.bukkit.craftbukkit.block.data.CraftBloc
|
||||
private static final net.minecraft.server.BlockStateEnum<?> ATTACHMENT = getEnum(net.minecraft.server.BlockBell.class, "attachment");
|
||||
|
||||
@Override
|
||||
public Attachment getAttachment() {
|
||||
return get(ATTACHMENT, Attachment.class);
|
||||
public org.bukkit.block.data.type.Bell.Attachment getAttachment() {
|
||||
return get(ATTACHMENT, org.bukkit.block.data.type.Bell.Attachment.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAttachment(Attachment leaves) {
|
||||
public void setAttachment(org.bukkit.block.data.type.Bell.Attachment leaves) {
|
||||
set(ATTACHMENT, leaves);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftChest extends org.bukkit.craftbukkit.block.data.CraftBlo
|
||||
private static final net.minecraft.server.BlockStateEnum<?> TYPE = getEnum(net.minecraft.server.BlockChest.class, "type");
|
||||
|
||||
@Override
|
||||
public Type getType() {
|
||||
return get(TYPE, Type.class);
|
||||
public org.bukkit.block.data.type.Chest.Type getType() {
|
||||
return get(TYPE, org.bukkit.block.data.type.Chest.Type.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setType(Type type) {
|
||||
public void setType(org.bukkit.block.data.type.Chest.Type type) {
|
||||
set(TYPE, type);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftChestTrapped extends org.bukkit.craftbukkit.block.data.C
|
||||
private static final net.minecraft.server.BlockStateEnum<?> TYPE = getEnum(net.minecraft.server.BlockChestTrapped.class, "type");
|
||||
|
||||
@Override
|
||||
public Type getType() {
|
||||
return get(TYPE, Type.class);
|
||||
public org.bukkit.block.data.type.Chest.Type getType() {
|
||||
return get(TYPE, org.bukkit.block.data.type.Chest.Type.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setType(Type type) {
|
||||
public void setType(org.bukkit.block.data.type.Chest.Type type) {
|
||||
set(TYPE, type);
|
||||
}
|
||||
|
||||
|
||||
@@ -31,12 +31,12 @@ public final class CraftCobbleWall extends org.bukkit.craftbukkit.block.data.Cra
|
||||
}
|
||||
|
||||
@Override
|
||||
public Height getHeight(org.bukkit.block.BlockFace face) {
|
||||
return get(HEIGHTS[face.ordinal()], Height.class);
|
||||
public org.bukkit.block.data.type.Wall.Height getHeight(org.bukkit.block.BlockFace face) {
|
||||
return get(HEIGHTS[face.ordinal()], org.bukkit.block.data.type.Wall.Height.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHeight(org.bukkit.block.BlockFace face, Height height) {
|
||||
public void setHeight(org.bukkit.block.BlockFace face, org.bukkit.block.data.type.Wall.Height height) {
|
||||
set(HEIGHTS[face.ordinal()], height);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftDoor extends org.bukkit.craftbukkit.block.data.CraftBloc
|
||||
private static final net.minecraft.server.BlockStateEnum<?> HINGE = getEnum(net.minecraft.server.BlockDoor.class, "hinge");
|
||||
|
||||
@Override
|
||||
public Hinge getHinge() {
|
||||
return get(HINGE, Hinge.class);
|
||||
public org.bukkit.block.data.type.Door.Hinge getHinge() {
|
||||
return get(HINGE, org.bukkit.block.data.type.Door.Hinge.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHinge(Hinge hinge) {
|
||||
public void setHinge(org.bukkit.block.data.type.Door.Hinge hinge) {
|
||||
set(HINGE, hinge);
|
||||
}
|
||||
|
||||
@@ -32,12 +32,12 @@ public final class CraftDoor extends org.bukkit.craftbukkit.block.data.CraftBloc
|
||||
private static final net.minecraft.server.BlockStateEnum<?> HALF = getEnum(net.minecraft.server.BlockDoor.class, "half");
|
||||
|
||||
@Override
|
||||
public Half getHalf() {
|
||||
return get(HALF, Half.class);
|
||||
public org.bukkit.block.data.Bisected.Half getHalf() {
|
||||
return get(HALF, org.bukkit.block.data.Bisected.Half.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHalf(Half half) {
|
||||
public void setHalf(org.bukkit.block.data.Bisected.Half half) {
|
||||
set(HALF, half);
|
||||
}
|
||||
|
||||
|
||||
@@ -37,12 +37,12 @@ public final class CraftGrindstone extends org.bukkit.craftbukkit.block.data.Cra
|
||||
private static final net.minecraft.server.BlockStateEnum<?> ATTACH_FACE = getEnum(net.minecraft.server.BlockGrindstone.class, "face");
|
||||
|
||||
@Override
|
||||
public AttachedFace getAttachedFace() {
|
||||
return get(ATTACH_FACE, AttachedFace.class);
|
||||
public org.bukkit.block.data.FaceAttachable.AttachedFace getAttachedFace() {
|
||||
return get(ATTACH_FACE, org.bukkit.block.data.FaceAttachable.AttachedFace.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAttachedFace(AttachedFace face) {
|
||||
public void setAttachedFace(org.bukkit.block.data.FaceAttachable.AttachedFace face) {
|
||||
set(ATTACH_FACE, face);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftJigsaw extends org.bukkit.craftbukkit.block.data.CraftBl
|
||||
private static final net.minecraft.server.BlockStateEnum<?> ORIENTATION = getEnum(net.minecraft.server.BlockJigsaw.class, "orientation");
|
||||
|
||||
@Override
|
||||
public Orientation getOrientation() {
|
||||
return get(ORIENTATION, Orientation.class);
|
||||
public org.bukkit.block.data.type.Jigsaw.Orientation getOrientation() {
|
||||
return get(ORIENTATION, org.bukkit.block.data.type.Jigsaw.Orientation.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setOrientation(Orientation orientation) {
|
||||
public void setOrientation(org.bukkit.block.data.type.Jigsaw.Orientation orientation) {
|
||||
set(ORIENTATION, orientation);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftLever extends org.bukkit.craftbukkit.block.data.CraftBlo
|
||||
private static final net.minecraft.server.BlockStateEnum<?> FACE = getEnum(net.minecraft.server.BlockLever.class, "face");
|
||||
|
||||
@Override
|
||||
public Face getFace() {
|
||||
return get(FACE, Face.class);
|
||||
public org.bukkit.block.data.type.Switch.Face getFace() {
|
||||
return get(FACE, org.bukkit.block.data.type.Switch.Face.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setFace(Face face) {
|
||||
public void setFace(org.bukkit.block.data.type.Switch.Face face) {
|
||||
set(FACE, face);
|
||||
}
|
||||
|
||||
@@ -51,12 +51,12 @@ public final class CraftLever extends org.bukkit.craftbukkit.block.data.CraftBlo
|
||||
private static final net.minecraft.server.BlockStateEnum<?> ATTACH_FACE = getEnum(net.minecraft.server.BlockLever.class, "face");
|
||||
|
||||
@Override
|
||||
public AttachedFace getAttachedFace() {
|
||||
return get(ATTACH_FACE, AttachedFace.class);
|
||||
public org.bukkit.block.data.FaceAttachable.AttachedFace getAttachedFace() {
|
||||
return get(ATTACH_FACE, org.bukkit.block.data.FaceAttachable.AttachedFace.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAttachedFace(AttachedFace face) {
|
||||
public void setAttachedFace(org.bukkit.block.data.FaceAttachable.AttachedFace face) {
|
||||
set(ATTACH_FACE, face);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,17 +32,17 @@ public final class CraftMinecartDetector extends org.bukkit.craftbukkit.block.da
|
||||
private static final net.minecraft.server.BlockStateEnum<?> SHAPE = getEnum(net.minecraft.server.BlockMinecartDetector.class, "shape");
|
||||
|
||||
@Override
|
||||
public Shape getShape() {
|
||||
return get(SHAPE, Shape.class);
|
||||
public org.bukkit.block.data.Rail.Shape getShape() {
|
||||
return get(SHAPE, org.bukkit.block.data.Rail.Shape.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShape(Shape shape) {
|
||||
public void setShape(org.bukkit.block.data.Rail.Shape shape) {
|
||||
set(SHAPE, shape);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.Set<Shape> getShapes() {
|
||||
return getValues(SHAPE, Shape.class);
|
||||
public java.util.Set<org.bukkit.block.data.Rail.Shape> getShapes() {
|
||||
return getValues(SHAPE, org.bukkit.block.data.Rail.Shape.class);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,17 +18,17 @@ public final class CraftMinecartTrack extends org.bukkit.craftbukkit.block.data.
|
||||
private static final net.minecraft.server.BlockStateEnum<?> SHAPE = getEnum(net.minecraft.server.BlockMinecartTrack.class, "shape");
|
||||
|
||||
@Override
|
||||
public Shape getShape() {
|
||||
return get(SHAPE, Shape.class);
|
||||
public org.bukkit.block.data.Rail.Shape getShape() {
|
||||
return get(SHAPE, org.bukkit.block.data.Rail.Shape.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShape(Shape shape) {
|
||||
public void setShape(org.bukkit.block.data.Rail.Shape shape) {
|
||||
set(SHAPE, shape);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.Set<Shape> getShapes() {
|
||||
return getValues(SHAPE, Shape.class);
|
||||
public java.util.Set<org.bukkit.block.data.Rail.Shape> getShapes() {
|
||||
return getValues(SHAPE, org.bukkit.block.data.Rail.Shape.class);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,12 +32,12 @@ public final class CraftPistonExtension extends org.bukkit.craftbukkit.block.dat
|
||||
private static final net.minecraft.server.BlockStateEnum<?> TYPE = getEnum(net.minecraft.server.BlockPistonExtension.class, "type");
|
||||
|
||||
@Override
|
||||
public Type getType() {
|
||||
return get(TYPE, Type.class);
|
||||
public org.bukkit.block.data.type.TechnicalPiston.Type getType() {
|
||||
return get(TYPE, org.bukkit.block.data.type.TechnicalPiston.Type.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setType(Type type) {
|
||||
public void setType(org.bukkit.block.data.type.TechnicalPiston.Type type) {
|
||||
set(TYPE, type);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftPistonMoving extends org.bukkit.craftbukkit.block.data.C
|
||||
private static final net.minecraft.server.BlockStateEnum<?> TYPE = getEnum(net.minecraft.server.BlockPistonMoving.class, "type");
|
||||
|
||||
@Override
|
||||
public Type getType() {
|
||||
return get(TYPE, Type.class);
|
||||
public org.bukkit.block.data.type.TechnicalPiston.Type getType() {
|
||||
return get(TYPE, org.bukkit.block.data.type.TechnicalPiston.Type.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setType(Type type) {
|
||||
public void setType(org.bukkit.block.data.type.TechnicalPiston.Type type) {
|
||||
set(TYPE, type);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,17 +32,17 @@ public final class CraftPoweredRail extends org.bukkit.craftbukkit.block.data.Cr
|
||||
private static final net.minecraft.server.BlockStateEnum<?> SHAPE = getEnum(net.minecraft.server.BlockPoweredRail.class, "shape");
|
||||
|
||||
@Override
|
||||
public Shape getShape() {
|
||||
return get(SHAPE, Shape.class);
|
||||
public org.bukkit.block.data.Rail.Shape getShape() {
|
||||
return get(SHAPE, org.bukkit.block.data.Rail.Shape.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShape(Shape shape) {
|
||||
public void setShape(org.bukkit.block.data.Rail.Shape shape) {
|
||||
set(SHAPE, shape);
|
||||
}
|
||||
|
||||
@Override
|
||||
public java.util.Set<Shape> getShapes() {
|
||||
return getValues(SHAPE, Shape.class);
|
||||
public java.util.Set<org.bukkit.block.data.Rail.Shape> getShapes() {
|
||||
return getValues(SHAPE, org.bukkit.block.data.Rail.Shape.class);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftRedstoneComparator extends org.bukkit.craftbukkit.block.
|
||||
private static final net.minecraft.server.BlockStateEnum<?> MODE = getEnum(net.minecraft.server.BlockRedstoneComparator.class, "mode");
|
||||
|
||||
@Override
|
||||
public Mode getMode() {
|
||||
return get(MODE, Mode.class);
|
||||
public org.bukkit.block.data.type.Comparator.Mode getMode() {
|
||||
return get(MODE, org.bukkit.block.data.type.Comparator.Mode.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setMode(Mode mode) {
|
||||
public void setMode(org.bukkit.block.data.type.Comparator.Mode mode) {
|
||||
set(MODE, mode);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,23 +21,23 @@ public final class CraftRedstoneWire extends org.bukkit.craftbukkit.block.data.C
|
||||
private static final net.minecraft.server.BlockStateEnum<?> WEST = getEnum(net.minecraft.server.BlockRedstoneWire.class, "west");
|
||||
|
||||
@Override
|
||||
public Connection getFace(org.bukkit.block.BlockFace face) {
|
||||
public org.bukkit.block.data.type.RedstoneWire.Connection getFace(org.bukkit.block.BlockFace face) {
|
||||
switch (face) {
|
||||
case NORTH:
|
||||
return get(NORTH, Connection.class);
|
||||
return get(NORTH, org.bukkit.block.data.type.RedstoneWire.Connection.class);
|
||||
case EAST:
|
||||
return get(EAST, Connection.class);
|
||||
return get(EAST, org.bukkit.block.data.type.RedstoneWire.Connection.class);
|
||||
case SOUTH:
|
||||
return get(SOUTH, Connection.class);
|
||||
return get(SOUTH, org.bukkit.block.data.type.RedstoneWire.Connection.class);
|
||||
case WEST:
|
||||
return get(WEST, Connection.class);
|
||||
return get(WEST, org.bukkit.block.data.type.RedstoneWire.Connection.class);
|
||||
default:
|
||||
throw new IllegalArgumentException("Cannot have face " + face);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setFace(org.bukkit.block.BlockFace face, Connection connection) {
|
||||
public void setFace(org.bukkit.block.BlockFace face, org.bukkit.block.data.type.RedstoneWire.Connection connection) {
|
||||
switch (face) {
|
||||
case NORTH:
|
||||
set(NORTH, connection);
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftStairs extends org.bukkit.craftbukkit.block.data.CraftBl
|
||||
private static final net.minecraft.server.BlockStateEnum<?> SHAPE = getEnum(net.minecraft.server.BlockStairs.class, "shape");
|
||||
|
||||
@Override
|
||||
public Shape getShape() {
|
||||
return get(SHAPE, Shape.class);
|
||||
public org.bukkit.block.data.type.Stairs.Shape getShape() {
|
||||
return get(SHAPE, org.bukkit.block.data.type.Stairs.Shape.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShape(Shape shape) {
|
||||
public void setShape(org.bukkit.block.data.type.Stairs.Shape shape) {
|
||||
set(SHAPE, shape);
|
||||
}
|
||||
|
||||
@@ -32,12 +32,12 @@ public final class CraftStairs extends org.bukkit.craftbukkit.block.data.CraftBl
|
||||
private static final net.minecraft.server.BlockStateEnum<?> HALF = getEnum(net.minecraft.server.BlockStairs.class, "half");
|
||||
|
||||
@Override
|
||||
public Half getHalf() {
|
||||
return get(HALF, Half.class);
|
||||
public org.bukkit.block.data.Bisected.Half getHalf() {
|
||||
return get(HALF, org.bukkit.block.data.Bisected.Half.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHalf(Half half) {
|
||||
public void setHalf(org.bukkit.block.data.Bisected.Half half) {
|
||||
set(HALF, half);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftStepAbstract extends org.bukkit.craftbukkit.block.data.C
|
||||
private static final net.minecraft.server.BlockStateEnum<?> TYPE = getEnum(net.minecraft.server.BlockStepAbstract.class, "type");
|
||||
|
||||
@Override
|
||||
public Type getType() {
|
||||
return get(TYPE, Type.class);
|
||||
public org.bukkit.block.data.type.Slab.Type getType() {
|
||||
return get(TYPE, org.bukkit.block.data.type.Slab.Type.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setType(Type type) {
|
||||
public void setType(org.bukkit.block.data.type.Slab.Type type) {
|
||||
set(TYPE, type);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftStoneButton extends org.bukkit.craftbukkit.block.data.Cr
|
||||
private static final net.minecraft.server.BlockStateEnum<?> FACE = getEnum(net.minecraft.server.BlockStoneButton.class, "face");
|
||||
|
||||
@Override
|
||||
public Face getFace() {
|
||||
return get(FACE, Face.class);
|
||||
public org.bukkit.block.data.type.Switch.Face getFace() {
|
||||
return get(FACE, org.bukkit.block.data.type.Switch.Face.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setFace(Face face) {
|
||||
public void setFace(org.bukkit.block.data.type.Switch.Face face) {
|
||||
set(FACE, face);
|
||||
}
|
||||
|
||||
@@ -51,12 +51,12 @@ public final class CraftStoneButton extends org.bukkit.craftbukkit.block.data.Cr
|
||||
private static final net.minecraft.server.BlockStateEnum<?> ATTACH_FACE = getEnum(net.minecraft.server.BlockStoneButton.class, "face");
|
||||
|
||||
@Override
|
||||
public AttachedFace getAttachedFace() {
|
||||
return get(ATTACH_FACE, AttachedFace.class);
|
||||
public org.bukkit.block.data.FaceAttachable.AttachedFace getAttachedFace() {
|
||||
return get(ATTACH_FACE, org.bukkit.block.data.FaceAttachable.AttachedFace.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAttachedFace(AttachedFace face) {
|
||||
public void setAttachedFace(org.bukkit.block.data.FaceAttachable.AttachedFace face) {
|
||||
set(ATTACH_FACE, face);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftStructure extends org.bukkit.craftbukkit.block.data.Craf
|
||||
private static final net.minecraft.server.BlockStateEnum<?> MODE = getEnum(net.minecraft.server.BlockStructure.class, "mode");
|
||||
|
||||
@Override
|
||||
public Mode getMode() {
|
||||
return get(MODE, Mode.class);
|
||||
public org.bukkit.block.data.type.StructureBlock.Mode getMode() {
|
||||
return get(MODE, org.bukkit.block.data.type.StructureBlock.Mode.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setMode(Mode mode) {
|
||||
public void setMode(org.bukkit.block.data.type.StructureBlock.Mode mode) {
|
||||
set(MODE, mode);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftTallPlant extends org.bukkit.craftbukkit.block.data.Craf
|
||||
private static final net.minecraft.server.BlockStateEnum<?> HALF = getEnum(net.minecraft.server.BlockTallPlant.class, "half");
|
||||
|
||||
@Override
|
||||
public Half getHalf() {
|
||||
return get(HALF, Half.class);
|
||||
public org.bukkit.block.data.Bisected.Half getHalf() {
|
||||
return get(HALF, org.bukkit.block.data.Bisected.Half.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHalf(Half half) {
|
||||
public void setHalf(org.bukkit.block.data.Bisected.Half half) {
|
||||
set(HALF, half);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftTallPlantFlower extends org.bukkit.craftbukkit.block.dat
|
||||
private static final net.minecraft.server.BlockStateEnum<?> HALF = getEnum(net.minecraft.server.BlockTallPlantFlower.class, "half");
|
||||
|
||||
@Override
|
||||
public Half getHalf() {
|
||||
return get(HALF, Half.class);
|
||||
public org.bukkit.block.data.Bisected.Half getHalf() {
|
||||
return get(HALF, org.bukkit.block.data.Bisected.Half.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHalf(Half half) {
|
||||
public void setHalf(org.bukkit.block.data.Bisected.Half half) {
|
||||
set(HALF, half);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftTallSeaGrass extends org.bukkit.craftbukkit.block.data.C
|
||||
private static final net.minecraft.server.BlockStateEnum<?> HALF = getEnum(net.minecraft.server.BlockTallSeaGrass.class, "half");
|
||||
|
||||
@Override
|
||||
public Half getHalf() {
|
||||
return get(HALF, Half.class);
|
||||
public org.bukkit.block.data.Bisected.Half getHalf() {
|
||||
return get(HALF, org.bukkit.block.data.Bisected.Half.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHalf(Half half) {
|
||||
public void setHalf(org.bukkit.block.data.Bisected.Half half) {
|
||||
set(HALF, half);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftTrapdoor extends org.bukkit.craftbukkit.block.data.Craft
|
||||
private static final net.minecraft.server.BlockStateEnum<?> HALF = getEnum(net.minecraft.server.BlockTrapdoor.class, "half");
|
||||
|
||||
@Override
|
||||
public Half getHalf() {
|
||||
return get(HALF, Half.class);
|
||||
public org.bukkit.block.data.Bisected.Half getHalf() {
|
||||
return get(HALF, org.bukkit.block.data.Bisected.Half.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHalf(Half half) {
|
||||
public void setHalf(org.bukkit.block.data.Bisected.Half half) {
|
||||
set(HALF, half);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,12 +18,12 @@ public final class CraftWoodButton extends org.bukkit.craftbukkit.block.data.Cra
|
||||
private static final net.minecraft.server.BlockStateEnum<?> FACE = getEnum(net.minecraft.server.BlockWoodButton.class, "face");
|
||||
|
||||
@Override
|
||||
public Face getFace() {
|
||||
return get(FACE, Face.class);
|
||||
public org.bukkit.block.data.type.Switch.Face getFace() {
|
||||
return get(FACE, org.bukkit.block.data.type.Switch.Face.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setFace(Face face) {
|
||||
public void setFace(org.bukkit.block.data.type.Switch.Face face) {
|
||||
set(FACE, face);
|
||||
}
|
||||
|
||||
@@ -51,12 +51,12 @@ public final class CraftWoodButton extends org.bukkit.craftbukkit.block.data.Cra
|
||||
private static final net.minecraft.server.BlockStateEnum<?> ATTACH_FACE = getEnum(net.minecraft.server.BlockWoodButton.class, "face");
|
||||
|
||||
@Override
|
||||
public AttachedFace getAttachedFace() {
|
||||
return get(ATTACH_FACE, AttachedFace.class);
|
||||
public org.bukkit.block.data.FaceAttachable.AttachedFace getAttachedFace() {
|
||||
return get(ATTACH_FACE, org.bukkit.block.data.FaceAttachable.AttachedFace.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAttachedFace(AttachedFace face) {
|
||||
public void setAttachedFace(org.bukkit.block.data.FaceAttachable.AttachedFace face) {
|
||||
set(ATTACH_FACE, face);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user