net.minecraft.client.option

public final class SimpleOption$OptionSliderWidgetImpl<N>

extends OptionSliderWidget implements Updatable

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable, Updatable

net.minecraft.client.OptionInstance$OptionInstanceSliderButton
net.minecraft.class_7172$class_7175
net.minecraft.client.option.SimpleOption$OptionSliderWidgetImpl

Field summary

Modifier and TypeField
private final SimpleOption<N>
instance
field_37872
option
private final SimpleOption$SliderCallbacks<N>
values
field_37873
callbacks
private final SimpleOption$TooltipFactory<N>
tooltipSupplier
field_37874
tooltipFactory
private final SimpleOption$ChangeCallback<? super N>
onValueChanged
field_41334
changeCallback
private Long
delayedApplyAt
field_51513
timeToApply
private final boolean
applyValueImmediately
field_51514
shouldApplyImmediately

Constructor summary

ModifierConstructor
private (GameOptions options, int x, int y, int width, int height, SimpleOption<N> option, SimpleOption$SliderCallbacks<N> callbacks, SimpleOption$TooltipFactory<N> tooltipFactory, SimpleOption$ChangeCallback<? super N> changeCallback, boolean shouldApplyImmediately)

Method summary

Modifier and TypeMethod
protected void
updateMessage()
method_25346()
updateMessage()
protected void
applyValue()
method_25344()
applyValue()
public void
applyUnsavedValue()
method_59868()
applyPendingValue()
public void
resetValue()
method_75314()
update()
public void
extractWidgetRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
public void
onRelease(MouseButtonEvent event)
method_25357(class_11909 arg0)
onRelease(Click arg0)
public boolean
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)