net.minecraft.client

public class ProgressOption

extends Option

dmd
net.minecraft.client.ProgressOption
net.minecraft.class_4067
net.minecraft.client.options.DoubleOption
net.minecraft.client.settings.SliderPercentageOption

Field summary

Modifier and TypeField
protected final float
V
steps
field_18204
step
field_216734_Q
protected final double
W
minValue
field_18205
min
field_216735_R
protected double
X
maxValue
field_18206
max
field_216736_S
private final Function<Options, Double>
Y
getter
field_18207
getter
field_216737_T
private final BiConsumer<Options, Double>
Z
setter
field_18208
setter
field_216738_U
private final BiFunction<Options, ProgressOption, Component>
aa
toString
field_18209
displayStringGetter
field_216739_V

Constructor summary

ModifierConstructor
public (String key, double min, double max, float step, Function<Options, Double> getter, BiConsumer<Options, Double> setter, BiFunction<Options, ProgressOption, Component> displayStringGetter)

Method summary

Modifier and TypeMethod
public AbstractWidget
a(dmb arg0, int arg1, int arg2, int arg3)
createButton(Options arg0, int arg1, int arg2, int arg3)
method_18520(class_315 arg0, int arg1, int arg2, int arg3)
createButton(GameOptions arg0, int arg1, int arg2, int arg3)
func_216586_a(GameSettings arg0, int arg1, int arg2, int arg3)
public double
a(double arg0)
toPct(double arg0)
method_18611(double arg0)
getRatio(double value)
func_216726_a(double arg0)
public double
b(double arg0)
toValue(double arg0)
method_18616(double arg0)
getValue(double ratio)
func_216725_b(double arg0)
private double
c(double arg0)
clamp(double arg0)
method_18618(double arg0)
adjust(double value)
func_216731_c(double arg0)
public double
c()
getMinValue()
method_18615()
getMin()
func_216732_b()
public double
d()
getMaxValue()
method_18617()
getMax()
func_216733_c()
public void
a(float arg0)
setMaxValue(float arg0)
method_18612(float arg0)
setMax(float max)
func_216728_a(float arg0)
public void
a(dmb arg0, double arg1)
set(Options arg0, double arg1)
method_18614(class_315 arg0, double arg1)
set(GameOptions options, double value)
func_216727_a(GameSettings arg0, double arg1)
public double
a(dmb arg0)
get(Options arg0)
method_18613(class_315 arg0)
get(GameOptions options)
func_216729_a(GameSettings arg0)
public Component
c(dmb arg0)
getMessage(Options arg0)
method_18619(class_315 arg0)
getDisplayString(GameOptions options)
func_238334_c_(GameSettings arg0)