Updates for 1.11. Running but missing textures.

This commit is contained in:
mezz committed 2017-02-09 01:41:06 -08:00
1 parent 424fdaaf48
commit f660f213f6
185 files changed
+959 -783

No files matched your search

@@ -5,6 +5,8 @@ import binnie.craftgui.core.geometry.IArea;
import binnie.craftgui.events.EventMouse;
import binnie.craftgui.minecraft.Window;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class ControlTankSlot extends ControlSlotFluid {
int tankID;
@@ -26,6 +28,7 @@ public class ControlTankSlot extends ControlSlotFluid {
}
@Override
@SideOnly(Side.CLIENT)
public void onUpdateClient() {
this.fluidStack = Window.get(this).getContainer().getTankInfo(this.tankID).liquid;
final int height = 16 * (((this.fluidStack == null) ? 0 : this.fluidStack.amount) / 1000);