mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
More things are now rendering properly, we're almost done
This commit is contained in:
1 parent
8493e6f4d1
commit
20bef9c94f
26 files changed
+156
-853
No files matched your search
@@ -11,8 +11,6 @@ import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class ModelQuantumEntangloporter extends ModelBase
|
||||
{
|
||||
@@ -314,12 +312,15 @@ public class ModelQuantumEntangloporter extends ModelBase
|
||||
setRotation(portLeftLarge, 0F, 0F, 0F);
|
||||
}
|
||||
|
||||
public void render(float size, TextureManager manager)
|
||||
public void render(float size, TextureManager manager, boolean renderMain)
|
||||
{
|
||||
GlStateManager.pushMatrix();
|
||||
MekanismRenderer.blendOn();
|
||||
|
||||
doRender(size);
|
||||
if(renderMain)
|
||||
{
|
||||
doRender(size);
|
||||
}
|
||||
|
||||
manager.bindTexture(OVERLAY);
|
||||
GlStateManager.scale(1.001F, 1.001F, 1.001F);
|
||||
|
||||
Reference in new issue
Block a user