Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import net.minecraft.client.Minecraft;
- import net.minecraft.client.gui.GuiButton;
- import net.minecraft.util.ResourceLocation;
- import org.lwjgl.opengl.GL11;
- public class RecipeButton extends GuiButton
- {
- private ResourceLocation myButtons = new ResourceLocation("tterrag", "textures/gui/buttons.png");
- public RecipeButton()
- {
- super(10, 260, 55, 10, 10, "");
- this.enabled = true;
- }
- @Override
- public void drawButton(Minecraft par1Minecraft, int par2, int par3)
- {
- par1Minecraft.getTextureManager().bindTexture(myButtons);
- super.drawButton(par1Minecraft, par2, par3);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment