Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package narutoStellar.nsm.client.gui;
- import org.lwjgl.opengl.GL11;
- import narutoStellar.util.Reference;
- import net.minecraft.client.Minecraft;
- import net.minecraft.client.gui.GuiScreen;
- import net.minecraft.util.ResourceLocation;
- public class GuiStellar extends GuiScreen {
- int guiwidth = 720;
- int guiHeight = 496;
- //Minecraft mc = Minecraft.getMinecraft();
- @Override
- public void drawScreen(int x, int y, float ticks) {
- int guiX =(width - guiwidth) / 2;
- int guiY =(height - guiHeight) / 2;
- GL11.glColor4f(1, 1, 1, 1);
- drawDefaultBackground();
- mc.renderEngine.bindTexture(new ResourceLocation(Reference.MOD_ID, "textures/gui/Naruto-Stellar-GUI.png"));
- drawTexturedModalRect(guiX, guiY, 10, 50, guiwidth, guiHeight);
- super.drawScreen(x, y, ticks);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement