Class InputControlHandlers.NumberRangeInputControlHandler.RangeSliderWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.SliderWidget
net.minecraft.client.gui.screen.dialog.InputControlHandlers.NumberRangeInputControlHandler.RangeSliderWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Enclosing class:
InputControlHandlers.NumberRangeInputControlHandler
@Environment(CLIENT)
private static class InputControlHandlers.NumberRangeInputControlHandler.RangeSliderWidget
extends SliderWidget
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/dialog/InputControlHandlers$NumberRangeInputControlHandler$RangeSliderWidget
intermediary net/minecraft/class_11489$class_11491$class_11492
official gfu$b$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.SliderWidget
field_43054, field_60708, value
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
float
private static float
getActualValue
(NumberRangeInputControl inputControl, double sliderProgress) private static Text
getFormattedLabel
(NumberRangeInputControl inputControl, double sliderProgress) getLabel()
private static String
getLabel
(NumberRangeInputControl inputControl, double sliderProgress) protected void
private static String
valueToString
(float value) Methods inherited from class net.minecraft.client.gui.widget.SliderWidget
appendClickableNarrations, getNarrationMessage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderWidget, setFocused
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, playClickSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
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.Element
charTyped, getBorder, getFocusedPath, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.Selectable
getNarratedParts
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
inputControl
- Mappings:
Namespace Name Mixin selector named inputControl
Lnet/minecraft/client/gui/screen/dialog/InputControlHandlers$NumberRangeInputControlHandler$RangeSliderWidget;inputControl:Lnet/minecraft/dialog/input/NumberRangeInputControl;
intermediary field_60778
Lnet/minecraft/class_11489$class_11491$class_11492;field_60778:Lnet/minecraft/class_11440;
official a
Lgfu$b$a;a:Lass;
-
-
Constructor Details
-
RangeSliderWidget
RangeSliderWidget(NumberRangeInputControl inputControl, double value) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/dialog/InputControlHandlers$NumberRangeInputControlHandler$RangeSliderWidget;<init>(Lnet/minecraft/dialog/input/NumberRangeInputControl;D)V
intermediary <init>
Lnet/minecraft/class_11489$class_11491$class_11492;<init>(Lnet/minecraft/class_11440;D)V
official <init>
Lgfu$b$a;<init>(Lass;D)V
-
-
Method Details
-
updateMessage
protected void updateMessage()- Specified by:
updateMessage
in classSliderWidget
- Mappings:
Namespace Name Mixin selector named updateMessage
Lnet/minecraft/client/gui/widget/SliderWidget;updateMessage()V
intermediary method_25346
Lnet/minecraft/class_357;method_25346()V
official b
Lfxi;b()V
-
applyValue
protected void applyValue()- Specified by:
applyValue
in classSliderWidget
- Mappings:
Namespace Name Mixin selector named applyValue
Lnet/minecraft/client/gui/widget/SliderWidget;applyValue()V
intermediary method_25344
Lnet/minecraft/class_357;method_25344()V
official a
Lfxi;a()V
-
getLabel
- Mappings:
Namespace Name Mixin selector named getLabel
Lnet/minecraft/client/gui/screen/dialog/InputControlHandlers$NumberRangeInputControlHandler$RangeSliderWidget;getLabel()Ljava/lang/String;
intermediary method_71911
Lnet/minecraft/class_11489$class_11491$class_11492;method_71911()Ljava/lang/String;
official c
Lgfu$b$a;c()Ljava/lang/String;
-
getActualValue
public float getActualValue()- Mappings:
Namespace Name Mixin selector named getActualValue
Lnet/minecraft/client/gui/screen/dialog/InputControlHandlers$NumberRangeInputControlHandler$RangeSliderWidget;getActualValue()F
intermediary method_72150
Lnet/minecraft/class_11489$class_11491$class_11492;method_72150()F
official e
Lgfu$b$a;e()F
-
getActualValue
- Mappings:
Namespace Name Mixin selector named getActualValue
Lnet/minecraft/client/gui/screen/dialog/InputControlHandlers$NumberRangeInputControlHandler$RangeSliderWidget;getActualValue(Lnet/minecraft/dialog/input/NumberRangeInputControl;D)F
intermediary method_72149
Lnet/minecraft/class_11489$class_11491$class_11492;method_72149(Lnet/minecraft/class_11440;D)F
official a
Lgfu$b$a;a(Lass;D)F
-
getLabel
- Mappings:
Namespace Name Mixin selector named getLabel
Lnet/minecraft/client/gui/screen/dialog/InputControlHandlers$NumberRangeInputControlHandler$RangeSliderWidget;getLabel(Lnet/minecraft/dialog/input/NumberRangeInputControl;D)Ljava/lang/String;
intermediary method_71909
Lnet/minecraft/class_11489$class_11491$class_11492;method_71909(Lnet/minecraft/class_11440;D)Ljava/lang/String;
official b
Lgfu$b$a;b(Lass;D)Ljava/lang/String;
-
getFormattedLabel
- Mappings:
Namespace Name Mixin selector named getFormattedLabel
Lnet/minecraft/client/gui/screen/dialog/InputControlHandlers$NumberRangeInputControlHandler$RangeSliderWidget;getFormattedLabel(Lnet/minecraft/dialog/input/NumberRangeInputControl;D)Lnet/minecraft/text/Text;
intermediary method_71910
Lnet/minecraft/class_11489$class_11491$class_11492;method_71910(Lnet/minecraft/class_11440;D)Lnet/minecraft/class_2561;
official c
Lgfu$b$a;c(Lass;D)Lxo;
-
valueToString
- Mappings:
Namespace Name Mixin selector named valueToString
Lnet/minecraft/client/gui/screen/dialog/InputControlHandlers$NumberRangeInputControlHandler$RangeSliderWidget;valueToString(F)Ljava/lang/String;
intermediary method_71908
Lnet/minecraft/class_11489$class_11491$class_11492;method_71908(F)Ljava/lang/String;
official b
Lgfu$b$a;b(F)Ljava/lang/String;
-