mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Work on overhaul of transmitters
This commit is contained in:
1 parent
6a42eb64e3
commit
2f705768e4
45 files changed
+1797
-1331
No files matched your search
@@ -9,7 +9,7 @@ import javax.vecmath.Matrix4f;
|
||||
import mekanism.api.EnumColor;
|
||||
import mekanism.client.render.ctm.CTMModelFactory;
|
||||
import mekanism.common.multipart.ColorProperty;
|
||||
import mekanism.common.multipart.PartGlowPanel;
|
||||
import mekanism.common.multipart.TileEntityGlowPanel;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.GlStateManager;
|
||||
@@ -137,7 +137,7 @@ public class GlowPanelModel extends OBJBakedModelBase
|
||||
|
||||
if(state != null && tempState == null)
|
||||
{
|
||||
int hash = PartGlowPanel.hash((IExtendedBlockState)state);
|
||||
int hash = TileEntityGlowPanel.hash((IExtendedBlockState)state);
|
||||
EnumColor color = ((IExtendedBlockState)state).getValue(ColorProperty.INSTANCE).color;
|
||||
|
||||
if(!glowPanelCache.containsKey(hash))
|
||||
|
||||
Reference in new issue
Block a user