@Override
public void drawButton(Minecraft mc, int mouseX, int mouseY, float p) {
if (this.visible) {
super.drawButton(mc, mouseX, mouseY, p);
ResourceLocation BUTTON_TEXTURES = new ResourceLocation(Const.MODID, "textures/gui/slot_magic.png");
int k = this.getHoverState(this.hovered);
GuiUtils.drawContinuousTexturedBox(BUTTON_TEXTURES, this.x, this.y, 0, 0, this.width, this.height, 200, 20, 0, 0, 0, 0, this.zLevel);
if (!stackRender.isEmpty())
ModCyclic.proxy.renderItemOnScreen(this.stackRender, this.x + 2, this.y + 2);
}
}