net.minecraft.client

public class ProgressOption

extends Option

dvv
net.minecraft.client.ProgressOption
net.minecraft.class_4067
net.minecraft.unmapped.C_lszwfdec
net.minecraft.client.option.DoubleOption
net.minecraft.src.C_3405_

Field summary

Modifier and TypeField
protected final float
aa
steps
field_18204
f_fssdukgb
step
f_92204_
protected final double
ab
minValue
field_18205
f_nroiwanu
min
f_92205_
protected double
ac
maxValue
field_18206
f_kgwnxpes
max
f_92206_
private final Function<Options, Double>
ad
getter
field_18207
f_ymgooejg
getter
f_92207_
private final BiConsumer<Options, Double>
ae
setter
field_18208
f_njpkpltj
setter
f_92208_
private final BiFunction<Options, ProgressOption, Component>
af
toString
field_18209
f_wmosiavh
displayStringGetter
f_92209_
private final Function<Minecraft, List<FormattedCharSequence>>
ag
tooltipSupplier
field_27958
f_gjnwwhlm
tooltipsGetter
f_168538_

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, Function<Minecraft, List<FormattedCharSequence>> tooltipsGetter)
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(dvt 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)
m_wzrkycim(C_lscptbhn arg0, int arg1, int arg2, int arg3)
createButton(GameOptions arg0, int arg1, int arg2, int arg3)
m_7496_(C_3401_ p_92228_, int p_92229_, int p_92230_, int arg3)
public double
a(double arg0)
toPct(double arg0)
method_18611(double arg0)
m_oiufejko(double arg0)
getRatio(double value)
m_6917_(double arg0)
public double
b(double arg0)
toValue(double arg0)
method_18616(double arg0)
m_drfcsecj(double arg0)
getValue(double ratio)
m_6912_(double arg0)
private double
d(double arg0)
clamp(double arg0)
method_18618(double arg0)
m_sxwofqcf(double arg0)
adjust(double value)
m_92236_(double arg0)
public double
b()
getMinValue()
method_18615()
m_fnnqdamf()
getMin()
m_92232_()
public double
c()
getMaxValue()
method_18617()
m_sdqhrbsc()
getMax()
m_92235_()
public void
a(float arg0)
setMaxValue(float arg0)
method_18612(float arg0)
m_fvpgknyp(float arg0)
setMax(float max)
m_92219_(float arg0)
public void
a(dvt arg0, double arg1)
set(Options arg0, double arg1)
method_18614(class_315 arg0, double arg1)
m_wvrsoifb(C_lscptbhn arg0, double arg1)
set(GameOptions options, double value)
m_92223_(C_3401_ p_92225_, double arg1)
public double
a(dvt arg0)
get(Options arg0)
method_18613(class_315 arg0)
m_ngtueffw(C_lscptbhn arg0)
get(GameOptions options)
m_92221_(C_3401_ arg0)
public Component
b(dvt arg0)
getMessage(Options arg0)
method_18619(class_315 arg0)
m_cqjdbbei(C_lscptbhn arg0)
getDisplayString(GameOptions options)
m_92233_(C_3401_ arg0)