yaay fluids

This commit is contained in:
Progwml6 committed 2014-01-29 22:58:29 -05:00
1 parent 4555947818
commit 2a932bc40a
29 files changed
+115 -113

No files matched your search

@@ -16,7 +16,7 @@ import tconstruct.library.ItemBlocklike;
public class CastingBasinSpecialRender extends TileEntitySpecialRenderer
{
@Override
public void renderTileEntityAt (TileEntity logic, double var2, double var4, double var6, float var8)
public void func_147500_a (TileEntity logic, double var2, double var4, double var6, float var8)
{
this.render((CastingBasinLogic) logic, var2, var4, var6, var8);
}
@@ -63,9 +63,10 @@ public class CastingBasinSpecialRender extends TileEntitySpecialRenderer
}
RenderItem.renderInFrame = true;
RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
RenderManager.instance.func_147940_a(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
RenderItem.renderInFrame = false;
GL11.glPopMatrix();
}
}
@@ -16,7 +16,7 @@ import tconstruct.library.ItemBlocklike;
public class CastingTableSpecialRenderer extends TileEntitySpecialRenderer
{
@Override
public void renderTileEntityAt (TileEntity logic, double var2, double var4, double var6, float var8)
public void func_147500_a (TileEntity logic, double var2, double var4, double var6, float var8)
{
//TConstruct.logger.info("Render!!!");
this.render((CastingTableLogic) logic, var2, var4, var6, var8);
@@ -62,7 +62,7 @@ public class CastingTableSpecialRenderer extends TileEntitySpecialRenderer
}
RenderItem.renderInFrame = true;
RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
RenderManager.instance.func_147940_a(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
RenderItem.renderInFrame = false;
GL11.glPopMatrix();
@@ -75,7 +75,7 @@ public class DryingRackSpecialRender extends TileEntitySpecialRenderer
}
RenderItem.renderInFrame = true;
RenderManager.instance.renderEntityWithPosYaw(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
RenderManager.instance.func_147940_a(entityitem, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
RenderItem.renderInFrame = false;
GL11.glPopMatrix();
@@ -131,7 +131,7 @@ public class ArmorExtendedGui extends InventoryEffectRenderer
par0Minecraft.thePlayer.rotationYawHead = par0Minecraft.thePlayer.rotationYaw;
GL11.glTranslatef(0.0F, par0Minecraft.thePlayer.yOffset, 0.0F);
RenderManager.instance.playerViewY = 180.0F;
RenderManager.instance.renderEntityWithPosYaw(par0Minecraft.thePlayer, 0.0D, 0.0D, 0.0D, 0.0F, 1.0F);
RenderManager.instance.func_147940_a(par0Minecraft.thePlayer, 0.0D, 0.0D, 0.0D, 0.0F, 1.0F);
par0Minecraft.thePlayer.renderYawOffset = f2;
par0Minecraft.thePlayer.rotationYaw = f3;
par0Minecraft.thePlayer.rotationPitch = f4;
@@ -49,12 +49,12 @@ public class ToolStationGui extends NewContainerGui
this.logic = stationlogic;
toolSlots = (ToolStationContainer) container;
text = new GuiTextField(this.field_146289_q, this.xSize / 2 - 5, 8, 30, 12);
this.text.setMaxStringLength(40);
this.text.setEnableBackgroundDrawing(false);
this.text.setVisible(true);
this.text.setCanLoseFocus(false);
this.text.setFocused(true);
this.text.setTextColor(0xffffff);
this.text.func_146203_f(40);
this.text.func_146185_a(false);
this.text.func_146189_e(true);
this.text.func_146205_d(false);
this.text.func_146195_b(true);
this.text.func_146193_g(0xffffff);
toolName = "";
resetGui();
Keyboard.enableRepeatEvents(true);
@@ -150,7 +150,7 @@ public class ToolStationGui extends NewContainerGui
public void updateScreen ()
{
super.updateScreen();
this.text.updateCursorCounter();
this.text.func_146178_a();
}
/**
@@ -473,8 +473,8 @@ public class ToolStationGui extends NewContainerGui
}
else if (active)
{
text.textboxKeyTyped(par1, keyCode);
toolName = text.getText().trim();
text.func_146201_a(par1, keyCode);
toolName = text.func_146179_b().trim();
logic.setToolname(toolName);
updateServer(toolName);
}