mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Make it a bit easier to see stuff with the weird model issues
This commit is contained in:
1 parent
940624717a
commit
32fb03abff
16 files changed
+16
-16
No files matched your search
@@ -21,7 +21,7 @@ public class RenderChargepad extends TileEntitySpecialRenderer<TileEntityChargep
|
||||
public void renderTileEntityAt(TileEntityChargepad tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "Chargepad.png"));
|
||||
|
||||
switch(tileEntity.facing.ordinal()) /*TODO: switch the enum*/
|
||||
|
||||
@@ -22,7 +22,7 @@ public class RenderChemicalCrystallizer extends TileEntitySpecialRenderer<TileEn
|
||||
public void renderTileEntityAt(TileEntityChemicalCrystallizer tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "ChemicalCrystallizer.png"));
|
||||
|
||||
switch(tileEntity.facing.ordinal()) /*TODO: switch the enum*/
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ public class RenderChemicalDissolutionChamber extends TileEntitySpecialRenderer<
|
||||
public void renderTileEntityAt(TileEntityChemicalDissolutionChamber tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "ChemicalDissolutionChamber.png"));
|
||||
|
||||
switch(tileEntity.facing.ordinal()) /*TODO: switch the enum*/
|
||||
|
||||
@@ -82,7 +82,7 @@ public class RenderChemicalInfuser extends TileEntitySpecialRenderer<TileEntityC
|
||||
private void render(boolean glass, double x, double y, double z, TileEntityChemicalInfuser tileEntity)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "ChemicalInfuser.png"));
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ public class RenderChemicalOxidizer extends TileEntitySpecialRenderer<TileEntity
|
||||
private void render(boolean glass, double x, double y, double z, TileEntityChemicalOxidizer tileEntity)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "ChemicalOxidizer.png"));
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ public class RenderChemicalWasher extends TileEntitySpecialRenderer<TileEntityCh
|
||||
public void renderTileEntityAt(TileEntityChemicalWasher tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "ChemicalWasher.png"));
|
||||
|
||||
switch(tileEntity.facing.ordinal()) /*TODO: switch the enum*/
|
||||
|
||||
@@ -21,7 +21,7 @@ public class RenderElectricChest extends TileEntitySpecialRenderer<TileEntityEle
|
||||
public void renderTileEntityAt(TileEntityElectricChest tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x, (float)y + 1.0F, (float)z);
|
||||
GL11.glTranslatef((float)x, (float)y + 1.0F, (float)z+1);
|
||||
GL11.glRotatef(90, 0.0F, 1.0F, 0.0F);
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "ElectricChest.png"));
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ public class RenderElectricPump extends TileEntitySpecialRenderer<TileEntityElec
|
||||
public void renderTileEntityAt(TileEntityElectricPump tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "ElectricPump.png"));
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ public class RenderElectrolyticSeparator extends TileEntitySpecialRenderer<TileE
|
||||
public void renderTileEntityAt(TileEntityElectrolyticSeparator tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 2.5F);
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "ElectrolyticSeparator.png"));
|
||||
|
||||
switch(tileEntity.facing.ordinal()) /*TODO: switch the enum*/
|
||||
|
||||
@@ -21,7 +21,7 @@ public class RenderFluidicPlenisher extends TileEntitySpecialRenderer<TileEntity
|
||||
public void renderTileEntityAt(TileEntityFluidicPlenisher tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "FluidicPlenisher.png"));
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ public class RenderLaserAmplifier extends TileEntitySpecialRenderer<TileEntityLa
|
||||
public void renderTileEntityAt(TileEntityLaserAmplifier tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "LaserAmplifier.png"));
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ public class RenderLaserTractorBeam extends TileEntitySpecialRenderer<TileEntity
|
||||
public void renderTileEntityAt(TileEntityLaserTractorBeam tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "LaserTractorBeam.png"));
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ public class RenderLogisticalSorter extends TileEntitySpecialRenderer<TileEntity
|
||||
public void renderTileEntityAt(TileEntityLogisticalSorter tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "LogisticalSorter" + (tileEntity.isActive ? "On" : "") + ".png"));
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ public class RenderPortableTank extends TileEntitySpecialRenderer<TileEntityPort
|
||||
}
|
||||
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "PortableTank" + (active ? "On" : "") + ".png"));
|
||||
|
||||
GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ public class RenderPressurizedReactionChamber extends TileEntitySpecialRenderer<
|
||||
public void renderTileEntityAt(TileEntityPRC tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "PressurizedReactionChamber.png"));
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ public class RenderSeismicVibrator extends TileEntitySpecialRenderer<TileEntityS
|
||||
public void renderTileEntityAt(TileEntitySeismicVibrator tileEntity, double x, double y, double z, float partialTick, int destroyStage)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
|
||||
GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 1.5F);
|
||||
|
||||
bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "SeismicVibrator" + (tileEntity.isActive ? "On" : "") + ".png"));
|
||||
|
||||
|
||||
Reference in new issue
Block a user