remove block metadata
This commit is contained in:
parent
3db0dca073
commit
a4a488523b
1 changed files with 6 additions and 3 deletions
|
@ -502,7 +502,6 @@ public abstract class BlockRegistry {
|
||||||
|
|
||||||
register("iron_bars", (new BlockPane(Material.SOLID, true)).setHardness(5.0F).setResistance(10.0F).setStepSound(SoundType.STONE)
|
register("iron_bars", (new BlockPane(Material.SOLID, true)).setHardness(5.0F).setResistance(10.0F).setStepSound(SoundType.STONE)
|
||||||
.setDisplay("Eisengitter"));
|
.setDisplay("Eisengitter"));
|
||||||
register("iron_door", (new BlockDoor(Material.SOLID)).setHardness(5.0F).setStepSound(SoundType.STONE).setDisplay("Eisentür"));
|
|
||||||
register("iron_trapdoor", (new BlockTrapDoor(Material.SOLID)).setHardness(5.0F).setStepSound(SoundType.STONE).setDisplay("Eisenfalltür"));
|
register("iron_trapdoor", (new BlockTrapDoor(Material.SOLID)).setHardness(5.0F).setStepSound(SoundType.STONE).setDisplay("Eisenfalltür"));
|
||||||
|
|
||||||
Block brick = (new Block(Material.SOLID)).setHardness(2.0F).setResistance(10.0F).setStepSound(SoundType.STONE)
|
Block brick = (new Block(Material.SOLID)).setHardness(2.0F).setResistance(10.0F).setStepSound(SoundType.STONE)
|
||||||
|
@ -577,8 +576,6 @@ public abstract class BlockRegistry {
|
||||||
.setHardness(2.0F).setResistance(5.0F).setStepSound(SoundType.WOOD).setDisplay(wood.getDisplay() + "holzzaun").setFlammable(5, 20));
|
.setHardness(2.0F).setResistance(5.0F).setStepSound(SoundType.WOOD).setDisplay(wood.getDisplay() + "holzzaun").setFlammable(5, 20));
|
||||||
register(wood.getName() + "_fence_gate", (new BlockFenceGate(wood)).setHardness(2.0F).setResistance(5.0F)
|
register(wood.getName() + "_fence_gate", (new BlockFenceGate(wood)).setHardness(2.0F).setResistance(5.0F)
|
||||||
.setStepSound(SoundType.WOOD).setDisplay(wood.getDisplay() + "holzzauntor").setFlammable(5, 20));
|
.setStepSound(SoundType.WOOD).setDisplay(wood.getDisplay() + "holzzauntor").setFlammable(5, 20));
|
||||||
register(wood.getName() + "_door", (new BlockDoor(Material.WOOD)).setHardness(3.0F).setStepSound(SoundType.WOOD)
|
|
||||||
.setDisplay(wood.getDisplay() + "holztür").setFlammable(5, 20));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -658,6 +655,12 @@ public abstract class BlockRegistry {
|
||||||
register("tripwire_hook", (new BlockTripWireHook()).setDisplay("Haken"));
|
register("tripwire_hook", (new BlockTripWireHook()).setDisplay("Haken"));
|
||||||
register("string", (new BlockTripWire()).setDisplay("Stolperdraht").setShearsEfficiency(0));
|
register("string", (new BlockTripWire()).setDisplay("Stolperdraht").setShearsEfficiency(0));
|
||||||
|
|
||||||
|
register("iron_door", (new BlockDoor(Material.SOLID)).setHardness(5.0F).setStepSound(SoundType.STONE).setDisplay("Eisentür"));
|
||||||
|
for(WoodType wood : WoodType.values()) {
|
||||||
|
register(wood.getName() + "_door", (new BlockDoor(Material.WOOD)).setHardness(3.0F).setStepSound(SoundType.WOOD)
|
||||||
|
.setDisplay(wood.getDisplay() + "holztür").setFlammable(5, 20));
|
||||||
|
}
|
||||||
|
|
||||||
for(Block block : BLOCKS) {
|
for(Block block : BLOCKS) {
|
||||||
for(State state : block.getValidStates()) {
|
for(State state : block.getValidStates()) {
|
||||||
STATE_NAMES.put(state, state.getId());
|
STATE_NAMES.put(state, state.getId());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue