Class RealmsSlotOptionsScreen.SettingsSlider
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.widget.Widget
net.minecraft.client.gui.widget.AbstractSlider
com.mojang.realmsclient.gui.screens.RealmsSlotOptionsScreen.SettingsSlider
- All Implemented Interfaces:
IGuiEventListener
,IRenderable
- Enclosing class:
- RealmsSlotOptionsScreen
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.AbstractSlider
value
Fields inherited from class net.minecraft.client.gui.widget.Widget
active, alpha, height, isHovered, nextNarration, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, y
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorDescriptionSettingsSlider
(int p_i232222_2_, int p_i232222_3_, int p_i232222_4_, int p_i232222_5_, float p_i232222_6_, float p_i232222_7_) -
Method Summary
Methods inherited from class net.minecraft.client.gui.widget.AbstractSlider
createNarrationMessage, getYImage, keyPressed, onDrag, playDownSound, renderBg
Methods inherited from class net.minecraft.client.gui.widget.Widget
changeFocus, clearFGColor, clicked, getFGColor, getHeight, getMessage, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.IGuiEventListener
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
minValue
private final double minValue -
maxValue
private final double maxValue
-
-
Constructor Details
-
SettingsSlider
public SettingsSlider(int p_i232222_2_, int p_i232222_3_, int p_i232222_4_, int p_i232222_5_, float p_i232222_6_, float p_i232222_7_)
-
-
Method Details
-
applyValue
public void applyValue()- Specified by:
applyValue
in classAbstractSlider
-
updateMessage
protected void updateMessage()- Specified by:
updateMessage
in classAbstractSlider
-
onClick
public void onClick(double p_230982_1_, double p_230982_3_) - Overrides:
onClick
in classAbstractSlider
-
onRelease
public void onRelease(double p_231000_1_, double p_231000_3_) - Overrides:
onRelease
in classAbstractSlider
-