package com.yuckyh.equisora.client.gui;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiScreen;
public class GuiClassSelect extends GuiScreen
{
private int guiWidth = 800;
private int guiHeight = 450;
private int guiCenterX = (this.width/2) - guiWidth/2;
private int guiCenterY = (this.height/2) - guiHeight/2;
@Override
public void render(int mouseX, int mouseY, float partialTicks)
{
super.render(mouseX, mouseY, partialTicks);
}
@Override
protected void initGui() {
super.initGui();
GuiButton buttonOk = new GuiButton(0, this.width / 2 - width, this.height * 5 / 6, "Ok") {
@Override
public void onClick(double p_194829_1_, double p_194829_3_) {
super.onClick(p_194829_1_, p_194829_3_);
}
};
this.buttons.add(buttonOk);
}
@Override
public boolean doesGuiPauseGame() {
return true;
}
}
Is it like that? if it is, it didn't work