[1.18.x] Allow blocks to hide faces on a neighboring block (#8300)

* Allow blocks to hide faces on a neighboring block
* Allow blocks to opt-out of external face hiding
This commit is contained in:
Dennis C authored and GitHub committed 2022-03-13 22:59:59 +01:00
1 parent 9bf227afeb
commit 57d6f31adb
11 files changed
+271

No files matched your search

@@ -1074,4 +1074,9 @@ public class ForgeHooksClient
MinecraftForge.EVENT_BUS.post(event);
return event.getResult();
}
public static boolean isBlockInSolidLayer(BlockState state)
{
return ItemBlockRenderTypes.canRenderInLayer(state, RenderType.solid());
}
}