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,
float partial) |
boolean |
isActive() |
void |
setActive(boolean active) |
color, setColor, setHoverColor, setResourceonClick, setClickActionmouseClicked, mouseDragged, mouseReleaseddrawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, playPressSound, setWidthdrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanFocus, charTyped, focusChanged, keyPressed, keyReleased, mouseScrolledpublic 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,
float partial)
drawButton in class GuiButtonClickImage