Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.90 KB | None | 0 0
  1. import net.minecraft.client.Minecraft;
  2. import org.lwjgl.opengl.GL11;
  3.  
  4. public class GuiAirCompressor extends ft
  5. {
  6.   private TileEntityAirCompressor k;
  7.  
  8.   public GuiAirCompressor(gl paramgl, TileEntityAirCompressor paramni)
  9.   {
  10.     super(new CraftingInventoryAirCompressorCB(paramgl, paramni));
  11.     this.k = paramni;
  12.   }
  13.  
  14.   protected void j() {
  15.     this.g.b("Air Compressor", 60, 6, 4210752);
  16.     this.g.b("Inventory", 8, this.h - 96 + 2, 4210752);
  17.   }
  18.  
  19.   protected void a(float paramFloat) {
  20.     int i = this.b.n.a("/gui/furnace.png");
  21.     GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
  22.     this.b.n.b(i);
  23.     int j = (this.c - this.a) / 2;
  24.     int m = (this.d - this.h) / 2;
  25.     b(j, m, 0, 0, this.a, this.h);
  26.     if (this.k.b()) {
  27.       int n = this.k.c(12);
  28.       b(j + 56, m + 36 + 12 - n, 176, 12 - n, 14, n + 2);
  29.     }
  30.  
  31.     int n = this.k.b(24);
  32.     b(j + 79, m + 34, 176, 14, n + 1, 16);
  33.   }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement