Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class GuiFurnaceChest extends GuiContainer {
- public GuiFurnaceChest(EntityPlayer player, World w, int x, int y, int z) {
- super(player.inventoryContainer);
- }
- @Override
- protected void drawGuiContainerBackgroundLayer(float par1, int par2,
- int par3) {
- //draw your Gui here, only thing you need to change is the path
- GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
- this.mc.renderEngine.bindTexture("/gui/container.png");
- /*drawTexturedModalRect( Xpos, Ypos, U, V, Width, Height */
- this.drawTexturedModalRect(this.xSize / 2, this.ySize / 2, 0, 0, this.xSize, this.ySize);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment