public class GuiButtonImage extends GuiButton
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
resourceLocation |
private int |
xTexStart |
private int |
yDiffText |
private int |
yTexStart |
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiButtonImage(int p_i47392_1_,
int p_i47392_2_,
int p_i47392_3_,
int p_i47392_4_,
int p_i47392_5_,
int p_i47392_6_,
int p_i47392_7_,
int p_i47392_8_,
ResourceLocation p_i47392_9_) |
Modifier and Type | Method and Description |
---|---|
void |
drawButton(Minecraft mc,
int mouseX,
int mouseY,
float partialTicks) |
void |
setPosition(int p_191746_1_,
int p_191746_2_) |
drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final ResourceLocation resourceLocation
private final int xTexStart
private final int yTexStart
private final int yDiffText
public GuiButtonImage(int p_i47392_1_, int p_i47392_2_, int p_i47392_3_, int p_i47392_4_, int p_i47392_5_, int p_i47392_6_, int p_i47392_7_, int p_i47392_8_, ResourceLocation p_i47392_9_)
public void setPosition(int p_191746_1_, int p_191746_2_)
public void drawButton(Minecraft mc, int mouseX, int mouseY, float partialTicks)
drawButton
in class GuiButton