mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Make the rendering of Induction Matrix internals a bit nicer.
This commit is contained in:
1 parent
60a32d44f6
commit
4e3999ea9c
4 files changed
+114
-128
No files matched your search
@@ -27,6 +27,8 @@ public class CTMData
|
||||
|
||||
public int facing;
|
||||
|
||||
public boolean renderConvexConnections = false;
|
||||
|
||||
public CTMData(String textureName, Block block, List<Integer> connectableMeta)
|
||||
{
|
||||
mainTextureData = new CTMTextureData(textureName);
|
||||
@@ -113,6 +115,12 @@ public class CTMData
|
||||
return this;
|
||||
}
|
||||
|
||||
public CTMData setRenderConvexConnections()
|
||||
{
|
||||
renderConvexConnections = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean shouldRenderSide(IBlockAccess world, int x, int y, int z, int side)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user