mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 11:29:15 +00:00
[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:
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());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user