mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-27 02:49:15 +00:00
修复错误的id
This commit is contained in:
@@ -22,15 +22,15 @@ public class BukkitBlockBehaviors extends BlockBehaviors {
|
||||
public static final BlockBehaviorType LAMP_BLOCK = register(LampBlockBehavior.ID, LampBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType TRAPDOOR_BLOCK = register(TrapDoorBlockBehavior.ID, TrapDoorBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType DOOR_BLOCK = register(DoorBlockBehavior.ID, DoorBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType STACKABLE_BLOCK = register(StairsBlockBehavior.ID, StackableBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType STURDY_BASE_BLOCK = register(StairsBlockBehavior.ID, SturdyBaseBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType STACKABLE_BLOCK = register(StackableBlockBehavior.ID, StackableBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType STURDY_BASE_BLOCK = register(SturdyBaseBlockBehavior.ID, SturdyBaseBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType FENCE_GATE_BLOCK = register(FenceGateBlockBehavior.ID, FenceGateBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType SLAB_BLOCK = register(SlabBlockBehavior.ID, SlabBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType STAIRS_BLOCK = register(StairsBlockBehavior.ID, StairsBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType PRESSURE_PLATE_BLOCK = register(PressurePlateBlockBehavior.ID, PressurePlateBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType DOUBLE_HIGH_BLOCK = register(DoubleHighBlockBehavior.ID, DoubleHighBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType CHANGE_OVER_TIME_BLOCK = register(ChangeOverTimeBlockBehavior.ID, ChangeOverTimeBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType SIMPLE_STORAGE_BLOCK = register(SimpleParticleBlockBehavior.ID, SimpleStorageBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType SIMPLE_STORAGE_BLOCK = register(SimpleStorageBlockBehavior.ID, SimpleStorageBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType TOGGLEABLE_LAMP_BLOCK = register(ToggleableLampBlockBehavior.ID, ToggleableLampBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType SOFA_BLOCK = register(SofaBlockBehavior.ID, SofaBlockBehavior.FACTORY);
|
||||
public static final BlockBehaviorType BOUNCING_BLOCK = register(BouncingBlockBehavior.ID, BouncingBlockBehavior.FACTORY);
|
||||
|
||||
@@ -39,7 +39,7 @@ import java.util.concurrent.Callable;
|
||||
|
||||
@SuppressWarnings("DuplicatedCode")
|
||||
public class FenceGateBlockBehavior extends BukkitBlockBehavior implements IsPathFindableBlockBehavior {
|
||||
public static final Key ID = Key.from("craftengine:sturdy_base_block");
|
||||
public static final Key ID = Key.from("craftengine:fence_gate_block");
|
||||
public static final BlockBehaviorFactory FACTORY = new Factory();
|
||||
private final Property<HorizontalDirection> facingProperty;
|
||||
private final Property<Boolean> inWallProperty;
|
||||
|
||||
@@ -25,11 +25,11 @@ public class TrimProcessor<I> implements SimpleNetworkItemProcessor<I> {
|
||||
}
|
||||
|
||||
public Key material() {
|
||||
return material;
|
||||
return this.material;
|
||||
}
|
||||
|
||||
public Key pattern() {
|
||||
return pattern;
|
||||
return this.pattern;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user