class BeaconScreen.PowerButton extends BeaconScreen.Button
Modifier and Type | Field and Description |
---|---|
private Effect |
effect |
private TextureAtlasSprite |
field_212946_c |
private boolean |
field_212947_d |
active, alpha, height, isHovered, nextNarration, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, y
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
PowerButton(int p_i50827_2_,
int p_i50827_3_,
Effect p_i50827_4_,
boolean p_i50827_5_) |
Modifier and Type | Method and Description |
---|---|
protected void |
func_212945_a() |
void |
onPress() |
void |
renderToolTip(int p_renderToolTip_1_,
int p_renderToolTip_2_) |
isSelected, renderButton, setSelected
keyPressed, onClick
changeFocus, clearFGColor, clicked, getFGColor, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseMoved, mouseScrolled
private final Effect effect
private final TextureAtlasSprite field_212946_c
private final boolean field_212947_d
public PowerButton(int p_i50827_2_, int p_i50827_3_, Effect p_i50827_4_, boolean p_i50827_5_)
public void onPress()
onPress
in class AbstractButton
public void renderToolTip(int p_renderToolTip_1_, int p_renderToolTip_2_)
renderToolTip
in class Widget
protected void func_212945_a()
func_212945_a
in class BeaconScreen.Button