Package net.minecraft.client.option
Class SimpleOption.OptionSliderWidgetImpl<N>
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.SliderWidget
net.minecraft.client.gui.widget.OptionSliderWidget
net.minecraft.client.option.SimpleOption.OptionSliderWidgetImpl<N>
- All Implemented Interfaces:
- Drawable,- Element,- Narratable,- Navigable,- Selectable,- Widget
- Enclosing class:
- SimpleOption<T>
@Environment(CLIENT)
private static final class SimpleOption.OptionSliderWidgetImpl<N>
extends OptionSliderWidget
- Mappings:
- Namespace - Name - official - enq$i- intermediary - net/minecraft/class_7172$class_7175- named - net/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final SimpleOption.SliderCallbacks<N>private final SimpleOption<N>private final SimpleOption.TooltipFactory<N>Fields inherited from class net.minecraft.client.gui.widget.OptionSliderWidgetoptionsFields inherited from class net.minecraft.client.gui.widget.SliderWidgetfield_43051, field_43052, field_43054, field_43102, field_43103, valueFields inherited from class net.minecraft.client.gui.widget.ClickableWidgetACCESSIBILITY_TEXTURE, active, alpha, height, hovered, visible, WIDGETS_TEXTURE, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionOptionSliderWidgetImpl(GameOptions options, int x, int y, int width, int height, SimpleOption<N> option, SimpleOption.SliderCallbacks<N> callbacks, SimpleOption.TooltipFactory<N> tooltipFactory, Consumer<N> changeCallback) 
- 
Method SummaryMethods inherited from class net.minecraft.client.gui.widget.SliderWidgetappendClickableNarrations, getNarrationMessage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderButton, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ClickableWidgetappendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawTexture, forEachChild, getHeight, getMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getTooltip, getTooltipPositioner, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, render, setAlpha, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementcharTyped, getFocusedPath, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Field Details- 
option- Mappings:
- Namespace - Name - Mixin selector - official - h- Lenq$i;h:Lenq;- intermediary - field_37872- Lnet/minecraft/class_7172$class_7175;field_37872:Lnet/minecraft/class_7172;- named - option- Lnet/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl;option:Lnet/minecraft/client/option/SimpleOption;
 
- 
callbacks- Mappings:
- Namespace - Name - Mixin selector - official - i- Lenq$i;i:Lenq$k;- intermediary - field_37873- Lnet/minecraft/class_7172$class_7175;field_37873:Lnet/minecraft/class_7172$class_7176;- named - callbacks- Lnet/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl;callbacks:Lnet/minecraft/client/option/SimpleOption$SliderCallbacks;
 
- 
tooltipFactory- Mappings:
- Namespace - Name - Mixin selector - official - j- Lenq$i;j:Lenq$l;- intermediary - field_37874- Lnet/minecraft/class_7172$class_7175;field_37874:Lnet/minecraft/class_7172$class_7277;- named - tooltipFactory- Lnet/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl;tooltipFactory:Lnet/minecraft/client/option/SimpleOption$TooltipFactory;
 
- 
changeCallback- Mappings:
- Namespace - Name - Mixin selector - official - k- Lenq$i;k:Ljava/util/function/Consumer;- intermediary - field_41334- Lnet/minecraft/class_7172$class_7175;field_41334:Ljava/util/function/Consumer;- named - changeCallback- Lnet/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl;changeCallback:Ljava/util/function/Consumer;
 
 
- 
- 
Constructor Details- 
OptionSliderWidgetImplOptionSliderWidgetImpl(GameOptions options, int x, int y, int width, int height, SimpleOption<N> option, SimpleOption.SliderCallbacks<N> callbacks, SimpleOption.TooltipFactory<N> tooltipFactory, Consumer<N> changeCallback) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lenq$i;<init>(Lenr;IIIILenq;Lenq$k;Lenq$l;Ljava/util/function/Consumer;)V- intermediary - <init>- Lnet/minecraft/class_7172$class_7175;<init>(Lnet/minecraft/class_315;IIIILnet/minecraft/class_7172;Lnet/minecraft/class_7172$class_7176;Lnet/minecraft/class_7172$class_7277;Ljava/util/function/Consumer;)V- named - <init>- Lnet/minecraft/client/option/SimpleOption$OptionSliderWidgetImpl;<init>(Lnet/minecraft/client/option/GameOptions;IIIILnet/minecraft/client/option/SimpleOption;Lnet/minecraft/client/option/SimpleOption$SliderCallbacks;Lnet/minecraft/client/option/SimpleOption$TooltipFactory;Ljava/util/function/Consumer;)V
 
 
- 
- 
Method Details- 
updateMessageprotected void updateMessage()- Specified by:
- updateMessagein class- SliderWidget
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lepd;b()V- intermediary - method_25346- Lnet/minecraft/class_357;method_25346()V- named - updateMessage- Lnet/minecraft/client/gui/widget/SliderWidget;updateMessage()V
 
- 
applyValueprotected void applyValue()- Specified by:
- applyValuein class- SliderWidget
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lepd;a()V- intermediary - method_25344- Lnet/minecraft/class_357;method_25344()V- named - applyValue- Lnet/minecraft/client/gui/widget/SliderWidget;applyValue()V
 
 
-