@Environment(value=CLIENT) abstract static class BeaconScreen.BaseButtonWidget extends AbstractPressableButtonWidget
| Modifier and Type | Field and Description |
|---|---|
private boolean |
disabled |
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, yBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Modifier | Constructor and Description |
|---|---|
protected |
BaseButtonWidget(int x,
int y) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDisabled() |
void |
renderButton(MatrixStack matrixStack,
int int2,
int int3,
float float2) |
protected abstract void |
renderExtra(MatrixStack matrixStack) |
void |
setDisabled(boolean disabled) |
keyPressed, onClick, onPresschangeFocus, clicked, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, renderToolTip, setAlpha, setFocused, setMessage, setWidthdrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, fill, fillGradient, getZOffset, method_27534, method_27535, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseMoved, mouseScrolledpublic void renderButton(MatrixStack matrixStack, int int2, int int3, float float2)
renderButton in class AbstractButtonWidgetprotected abstract void renderExtra(MatrixStack matrixStack)
public boolean isDisabled()
public void setDisabled(boolean disabled)