net.minecraft.client

public class ProgressOption

extends Option

dkf
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
Y
steps
field_18204
step
field_216734_Q
protected final double
Z
minValue
field_18205
min
field_216735_R
protected double
aa
maxValue
field_18206
max
field_216736_S
private final Function<Options, Double>
ab
getter
field_18207
getter
field_216737_T
private final BiConsumer<Options, Double>
ac
setter
field_18208
setter
field_216738_U
private final BiFunction<Options, ProgressOption, Component>
ad
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(dkd 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
d(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(dkd 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(dkd arg0)
get(Options arg0)
method_18613(class_315 arg0)
get(GameOptions options)
func_216729_a(GameSettings arg0)
public Component
c(dkd arg0)
getMessage(Options arg0)
method_18619(class_315 arg0)
getDisplayString(GameOptions options)
func_238334_c_(GameSettings arg0)