public class RealmsSliderButtonProxy extends AbstractSlider implements RealmsAbstractButtonProxy<RealmsSliderButton>
Modifier and Type | Field and Description |
---|---|
private RealmsSliderButton |
button |
options, value
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 |
---|
RealmsSliderButtonProxy(RealmsSliderButton p_i50875_1_,
int p_i50875_2_,
int p_i50875_3_,
int p_i50875_4_,
int p_i50875_5_,
double p_i50875_6_) |
Modifier and Type | Method and Description |
---|---|
boolean |
active() |
void |
active(boolean p_active_1_) |
void |
applyValue() |
int |
func_212934_y() |
RealmsSliderButton |
getButton() |
int |
getHeight() |
int |
getSuperYImage(boolean p_getSuperYImage_1_) |
double |
getValue() |
int |
getWidth() |
int |
getYImage(boolean p_getYImage_1_) |
boolean |
isVisible() |
void |
onClick(double p_onClick_1_,
double p_onClick_3_) |
void |
onRelease(double p_onRelease_1_,
double p_onRelease_3_) |
void |
renderBg(Minecraft p_renderBg_1_,
int p_renderBg_2_,
int p_renderBg_3_) |
void |
setMessage(java.lang.String p_setMessage_1_) |
void |
setValue(double p_setValue_1_) |
void |
setVisible(boolean p_setVisible_1_) |
void |
updateMessage() |
getNarrationMessage, keyPressed, onDrag, playDownSound
changeFocus, clearFGColor, clicked, getFGColor, getMessage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, 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 RealmsSliderButton button
public RealmsSliderButtonProxy(RealmsSliderButton p_i50875_1_, int p_i50875_2_, int p_i50875_3_, int p_i50875_4_, int p_i50875_5_, double p_i50875_6_)
public boolean active()
active
in interface RealmsAbstractButtonProxy<RealmsSliderButton>
public void active(boolean p_active_1_)
active
in interface RealmsAbstractButtonProxy<RealmsSliderButton>
public boolean isVisible()
isVisible
in interface RealmsAbstractButtonProxy<RealmsSliderButton>
public void setVisible(boolean p_setVisible_1_)
setVisible
in interface RealmsAbstractButtonProxy<RealmsSliderButton>
public void setMessage(java.lang.String p_setMessage_1_)
setMessage
in class Widget
public int func_212934_y()
public void onClick(double p_onClick_1_, double p_onClick_3_)
onClick
in class AbstractSlider
public void onRelease(double p_onRelease_1_, double p_onRelease_3_)
onRelease
in class AbstractSlider
public void updateMessage()
updateMessage
in class AbstractSlider
public void applyValue()
applyValue
in class AbstractSlider
public double getValue()
public void setValue(double p_setValue_1_)
public void renderBg(Minecraft p_renderBg_1_, int p_renderBg_2_, int p_renderBg_3_)
renderBg
in class AbstractSlider
public RealmsSliderButton getButton()
getButton
in interface RealmsAbstractButtonProxy<RealmsSliderButton>
public int getYImage(boolean p_getYImage_1_)
getYImage
in class AbstractSlider
public int getSuperYImage(boolean p_getSuperYImage_1_)