mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
æügh
This commit is contained in:
parent
5dc3a90871
commit
d3d92f33c8
@ -147,7 +147,7 @@ public class GUIReactorControl extends GuiInfoContainer {
|
|||||||
Minecraft.getMinecraft().getTextureManager().bindTexture(texture);
|
Minecraft.getMinecraft().getTextureManager().bindTexture(texture);
|
||||||
drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize);
|
drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize);
|
||||||
|
|
||||||
GL11.glPopMatrix();
|
GL11.glPushMatrix();
|
||||||
Tessellator tess = Tessellator.instance;
|
Tessellator tess = Tessellator.instance;
|
||||||
GL11.glDisable(GL11.GL_TEXTURE_2D);
|
GL11.glDisable(GL11.GL_TEXTURE_2D);
|
||||||
GL11.glLineWidth(3F);
|
GL11.glLineWidth(3F);
|
||||||
@ -160,7 +160,7 @@ public class GUIReactorControl extends GuiInfoContainer {
|
|||||||
|
|
||||||
tess.draw();
|
tess.draw();
|
||||||
GL11.glEnable(GL11.GL_TEXTURE_2D);
|
GL11.glEnable(GL11.GL_TEXTURE_2D);
|
||||||
GL11.glPushMatrix();
|
GL11.glPopMatrix();
|
||||||
|
|
||||||
for(byte i = 0; i < 3; i++)
|
for(byte i = 0; i < 3; i++)
|
||||||
displays[i].drawNumber(control.getDisplayData()[i]);
|
displays[i].drawNumber(control.getDisplayData()[i]);
|
||||||
|
|||||||
@ -136,7 +136,6 @@ public class Library {
|
|||||||
if((tileentity != null && (tileentity instanceof IFluidAcceptor ||
|
if((tileentity != null && (tileentity instanceof IFluidAcceptor ||
|
||||||
tileentity instanceof IFluidSource)) ||
|
tileentity instanceof IFluidSource)) ||
|
||||||
world.getBlock(x, y, z) == ModBlocks.dummy_port_flare ||
|
world.getBlock(x, y, z) == ModBlocks.dummy_port_flare ||
|
||||||
world.getBlock(x, y, z) == ModBlocks.dummy_port_chemplant ||
|
|
||||||
world.getBlock(x, y, z) == ModBlocks.dummy_port_fluidtank ||
|
world.getBlock(x, y, z) == ModBlocks.dummy_port_fluidtank ||
|
||||||
world.getBlock(x, y, z) == ModBlocks.dummy_port_refinery ||
|
world.getBlock(x, y, z) == ModBlocks.dummy_port_refinery ||
|
||||||
world.getBlock(x, y, z) == ModBlocks.dummy_port_pumpjack ||
|
world.getBlock(x, y, z) == ModBlocks.dummy_port_pumpjack ||
|
||||||
@ -387,11 +386,6 @@ public class Library {
|
|||||||
Block block = worldObj.getBlock(x, y, z);
|
Block block = worldObj.getBlock(x, y, z);
|
||||||
TileEntity tileentity = worldObj.getTileEntity(x, y, z);
|
TileEntity tileentity = worldObj.getTileEntity(x, y, z);
|
||||||
|
|
||||||
//Chemplant
|
|
||||||
if(block == ModBlocks.dummy_port_chemplant)
|
|
||||||
{
|
|
||||||
tileentity = worldObj.getTileEntity(((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetX, ((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetY, ((TileEntityDummy)worldObj.getTileEntity(x, y, z)).targetZ);
|
|
||||||
}
|
|
||||||
//Fluid Tank
|
//Fluid Tank
|
||||||
if(block == ModBlocks.dummy_port_fluidtank)
|
if(block == ModBlocks.dummy_port_fluidtank)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user