mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
Tiered Gas Tanks and tiered Fluid Tanks!
This commit is contained in:
1 parent
08b6490bd3
commit
3c1496740c
40 files changed
+498
-171
No files matched your search
@@ -7,11 +7,12 @@ import mekanism.common.util.MekanismUtils;
|
||||
import mekanism.common.util.MekanismUtils.ResourceType;
|
||||
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class RenderGasTank extends TileEntitySpecialRenderer
|
||||
{
|
||||
@@ -27,7 +28,7 @@ public class RenderGasTank extends TileEntitySpecialRenderer
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "GasTank.png"));
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "GasTank" + tileEntity.tier.getBaseTier().getName() + ".png"));
|
||||
|
||||
switch(tileEntity.facing)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user