From 36e261cfd593faafd198326811a5d840d84efe0f Mon Sep 17 00:00:00 2001 From: BoogieMonster1O1 Date: Sat, 13 Jun 2020 18:37:10 +0530 Subject: [PATCH] Fixed a bug where blocks would compile incorrectly --- src/fabric-1.15.2/templates/block.java.ftl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fabric-1.15.2/templates/block.java.ftl b/src/fabric-1.15.2/templates/block.java.ftl index f1df2860..25afb402 100644 --- a/src/fabric-1.15.2/templates/block.java.ftl +++ b/src/fabric-1.15.2/templates/block.java.ftl @@ -84,6 +84,7 @@ public class ${name} extends Block { + <#if data.rotationMode != 0> @Override public BlockState getPlacementState(ItemPlacementContext context) { <#if data.rotationMode == 1> @@ -107,6 +108,7 @@ public class ${name} extends Block { return this.getDefaultState().with(FACING, facing); } + <#if data.mx != 0 || data.my != 0 || data.mz != 0 || data.Mx != 1 || data.My != 1 || data.Mz != 1> @Override public VoxelShape getOutlineShape(BlockState state, BlockView view, BlockPos pos, EntityContext context) {