mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Fix various client and other stuff
This commit is contained in:
1 parent
18a1dedf92
commit
a556fffc4f
31 files changed
+226
-241
No files matched your search
@@ -57,7 +57,7 @@ public class RenderConfigurableMachine<S extends TileEntity & ISideConfiguration
|
||||
{
|
||||
if(bp.equals(configurable.getPos()))
|
||||
{
|
||||
EnumColor color = configurable.getConfig().getOutput(type, pos.sideHit.getIndex()/*TODO change to take EnumFacing*/, configurable.getOrientation()).color;
|
||||
EnumColor color = configurable.getConfig().getOutput(type, pos.sideHit, configurable.getOrientation()).color;
|
||||
|
||||
push();
|
||||
|
||||
@@ -101,13 +101,13 @@ public class RenderConfigurableMachine<S extends TileEntity & ISideConfiguration
|
||||
{
|
||||
return cachedOverlays.get(side).get(type);
|
||||
}
|
||||
|
||||
/*
|
||||
Model3D toReturn = new Model3D();
|
||||
toReturn.baseBlock = Blocks.stone;
|
||||
toReturn.setTexture(MekanismRenderer.overlays.get(type));
|
||||
|
||||
*/
|
||||
DisplayInteger display = DisplayInteger.createAndStart();
|
||||
|
||||
/*
|
||||
if(cachedOverlays.containsKey(side))
|
||||
{
|
||||
cachedOverlays.get(side).put(type, display);
|
||||
@@ -193,6 +193,7 @@ public class RenderConfigurableMachine<S extends TileEntity & ISideConfiguration
|
||||
}
|
||||
|
||||
MekanismRenderer.renderObject(toReturn);
|
||||
*/
|
||||
display.endList();
|
||||
|
||||
return display;
|
||||
|
||||
Reference in new issue
Block a user