Fix a typo

This commit is contained in:
Snownee 2020-12-25 18:04:35 +08:00
parent 6df81c8272
commit 49b5e4957e
2 changed files with 0 additions and 2 deletions

View file

@ -5,7 +5,6 @@
"create:creative_fluid_tank", "create:creative_fluid_tank",
"create:mechanical_piston", "create:mechanical_piston",
"create:sticky_mechanical_piston", "create:sticky_mechanical_piston",
"create:mechanical_piston_head",
"create:windmill_bearing", "create:windmill_bearing",
"create:mechanical_bearing", "create:mechanical_bearing",
"create:clockwork_bearing", "create:clockwork_bearing",

View file

@ -674,7 +674,6 @@ public class AllBlocks {
public static final BlockEntry<MechanicalPistonHeadBlock> MECHANICAL_PISTON_HEAD = public static final BlockEntry<MechanicalPistonHeadBlock> MECHANICAL_PISTON_HEAD =
REGISTRATE.block("mechanical_piston_head", MechanicalPistonHeadBlock::new) REGISTRATE.block("mechanical_piston_head", MechanicalPistonHeadBlock::new)
.initialProperties(() -> Blocks.PISTON_HEAD) .initialProperties(() -> Blocks.PISTON_HEAD)
.tag(AllBlockTags.SAFE_NBT.tag)
.loot((p, b) -> p.registerDropping(b, PISTON_EXTENSION_POLE.get())) .loot((p, b) -> p.registerDropping(b, PISTON_EXTENSION_POLE.get()))
.blockstate((c, p) -> BlockStateGen.directionalBlockIgnoresWaterlogged(c, p, state -> p.models() .blockstate((c, p) -> BlockStateGen.directionalBlockIgnoresWaterlogged(c, p, state -> p.models()
.getExistingFile(p.modLoc("block/mechanical_piston/" + state.get(MechanicalPistonHeadBlock.TYPE) .getExistingFile(p.modLoc("block/mechanical_piston/" + state.get(MechanicalPistonHeadBlock.TYPE)