Class RealmsSlotOptionsScreen.SettingsSlider
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.AbstractButtonWidget
net.minecraft.client.gui.widget.SliderWidget
net.minecraft.client.realms.gui.screen.RealmsSlotOptionsScreen.SettingsSlider
- Enclosing class:
- RealmsSlotOptionsScreen
@Environment(CLIENT) class RealmsSlotOptionsScreen.SettingsSlider extends SliderWidget
- Mappings:
Namespace Name official doo$aintermediary net/minecraft/class_4423$class_4424named net/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.SliderWidget
valueFields inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, yFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors Constructor Description SettingsSlider(int x, int y, int width, int value, float min, float max) -
Method Summary
Modifier and Type Method Description voidapplyValue()voidonClick(double mouseX, double mouseY)voidonRelease(double mouseX, double mouseY)protected voidupdateMessage()Methods inherited from class net.minecraft.client.gui.widget.SliderWidget
getNarrationMessage, getYImage, keyPressed, onDrag, playDownSound, renderBgMethods inherited from class net.minecraft.client.gui.widget.AbstractButtonWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFocused, setMessage, setWidthMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
min
private final double min- Mappings:
Namespace Name Mixin selector official cLdoo$a;c:Dintermediary field_22725Lnet/minecraft/class_4423$class_4424;field_22725:Dnamed minLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider;min:D
-
max
private final double max- Mappings:
Namespace Name Mixin selector official dLdoo$a;d:Dintermediary field_22726Lnet/minecraft/class_4423$class_4424;field_22726:Dnamed maxLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider;max:D
-
-
Constructor Details
-
SettingsSlider
public SettingsSlider(int x, int y, int width, int value, float min, float max)- Mappings:
Namespace Name Mixin selector official <init>Ldoo$a;<init>(Ldoo;IIIIFF)Vintermediary <init>Lnet/minecraft/class_4423$class_4424;<init>(Lnet/minecraft/class_4423;IIIIFF)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;IIIIFF)V
-
-
Method Details
-
applyValue
public void applyValue()- Specified by:
applyValuein classSliderWidget- Mappings:
Namespace Name Mixin selector official aLdrr;a()Vintermediary method_25344Lnet/minecraft/class_357;method_25344()Vnamed applyValueLnet/minecraft/client/gui/widget/SliderWidget;applyValue()V
-
updateMessage
protected void updateMessage()- Specified by:
updateMessagein classSliderWidget- Mappings:
Namespace Name Mixin selector official bLdrr;b()Vintermediary method_25346Lnet/minecraft/class_357;method_25346()Vnamed updateMessageLnet/minecraft/client/gui/widget/SliderWidget;updateMessage()V
-
onClick
public void onClick(double mouseX, double mouseY)- Overrides:
onClickin classSliderWidget- Mappings:
Namespace Name Mixin selector official aLdrs;a(DD)Vintermediary method_25348Lnet/minecraft/class_339;method_25348(DD)Vnamed onClickLnet/minecraft/client/gui/widget/AbstractButtonWidget;onClick(DD)V
-
onRelease
public void onRelease(double mouseX, double mouseY)- Overrides:
onReleasein classSliderWidget- Mappings:
Namespace Name Mixin selector official a_Ldrs;a_(DD)Vintermediary method_25357Lnet/minecraft/class_339;method_25357(DD)Vnamed onReleaseLnet/minecraft/client/gui/widget/AbstractButtonWidget;onRelease(DD)V
-