public class GuiButtonClickImageActivated extends GuiButtonClickImage
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected int |
activecolor |
color, hovercolor, resource
Constructor and Description |
---|
GuiButtonClickImageActivated(int x,
int y,
int width,
int height,
net.minecraft.util.ResourceLocation resource,
int activecolor) |
Modifier and Type | Method and Description |
---|---|
void |
drawButton(net.minecraft.client.Minecraft mc,
int mouseX,
int mouseY) |
boolean |
isActive() |
void |
setActive(boolean active) |
color, setColor, setHoverColor, setResource
onClick, setClickAction
mouseClicked, mouseDragged, mouseReleased
drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canFocus, charTyped, focusChanged, keyPressed, keyReleased, mouseScrolled
public GuiButtonClickImageActivated(int x, int y, int width, int height, net.minecraft.util.ResourceLocation resource, int activecolor)
public void setActive(boolean active)
public boolean isActive()
public void drawButton(net.minecraft.client.Minecraft mc, int mouseX, int mouseY)
drawButton
in class GuiButtonClickImage