net.minecraft.client

public class ProgressOption

extends Option

cyi
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
Q
steps
field_18204
step
field_216734_Q
protected final double
R
minValue
field_18205
min
field_216735_R
protected double
S
maxValue
field_18206
max
field_216736_S
private final Function<Options, Double>
T
getter
field_18207
getter
field_216737_T
private final BiConsumer<Options, Double>
U
setter
field_18208
setter
field_216738_U
private final BiFunction<Options, ProgressOption, String>
V
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, String> displayStringGetter)

Method summary

Modifier and TypeMethod
public AbstractWidget
a(cyg 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)
func_216726_a(double arg0)
public double
b(double arg0)
toValue(double arg0)
method_18616(double arg0)
func_216725_b(double arg0)
private double
c(double arg0)
clamp(double arg0)
method_18618(double arg0)
func_216731_c(double arg0)
public double
b()
getMinValue()
method_18615()
getMin()
func_216732_b()
public double
c()
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(cyg 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(cyg arg0)
get(Options arg0)
method_18613(class_315 arg0)
get(GameOptions options)
func_216729_a(GameSettings arg0)
public String
c(cyg arg0)
getMessage(Options arg0)
method_18619(class_315 arg0)
getDisplayString(GameOptions options)
func_216730_c(GameSettings arg0)