Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import net.minecraft.client.Minecraft;
- import org.lwjgl.opengl.GL11;
- public class GuiAirCompressor extends ft
- {
- private TileEntityAirCompressor k;
- public GuiAirCompressor(gl paramgl, TileEntityAirCompressor paramni)
- {
- super(new CraftingInventoryAirCompressorCB(paramgl, paramni));
- this.k = paramni;
- }
- protected void j() {
- this.g.b("Air Compressor", 60, 6, 4210752);
- this.g.b("Inventory", 8, this.h - 96 + 2, 4210752);
- }
- protected void a(float paramFloat) {
- int i = this.b.n.a("/gui/furnace.png");
- GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
- this.b.n.b(i);
- int j = (this.c - this.a) / 2;
- int m = (this.d - this.h) / 2;
- b(j, m, 0, 0, this.a, this.h);
- if (this.k.b()) {
- int n = this.k.c(12);
- b(j + 56, m + 36 + 12 - n, 176, 12 - n, 14, n + 2);
- }
- int n = this.k.b(24);
- b(j + 79, m + 34, 176, 14, n + 1, 16);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement