net.minecraft.client

public class CycleOption<T>

extends Option

dve
net.minecraft.client.CycleOption
net.minecraft.class_4064
net.minecraft.unmapped.C_hxxnafqd
net.minecraft.client.option.CyclingOption
net.minecraft.src.C_3378_

Field summary

Modifier and TypeField
private final CycleOption$OptionSetter<T>
aa
setter
field_18169
f_vxujpxzt
setter
f_90678_
private final Function<Options, T>
ab
getter
field_27953
f_qhhwqxdj
getter
f_167713_
private final Supplier<CycleButton$Builder<T>>
ac
buttonSetup
field_27954
f_opcmyfar
buttonBuilderFactory
f_167714_
private Function<Minecraft, CycleButton$TooltipSupplier<T>>
ad
tooltip
field_27955
f_fcewjozh
tooltips
f_167715_

Constructor summary

ModifierConstructor
private (String key, Function<Options, T> getter, CycleOption$OptionSetter<T> setter, Supplier<CycleButton$Builder<T>> buttonBuilderFactory)

Method summary

Modifier and TypeMethod
public static <T> CycleOption<T>
a(String arg0, List<T> arg1, Function<T, os> arg2, Function<dvs, T> arg3, dve$a<T> arg4)
create(String arg0, List<T> arg1, Function<T, Component> arg2, Function<Options, T> arg3, CycleOption$OptionSetter<T> arg4)
method_35694(String arg0, List<T> arg1, Function<T, class_2561> arg2, Function<class_315, T> arg3, class_4064$class_5675<T> arg4)
m_tablqzmn(String arg0, List<T> arg1, Function<T, C_rdaqiwdt> arg2, Function<C_lscptbhn, T> arg3, C_hxxnafqd$C_doimculs<T> arg4)
create(String key, List<T> values, Function<T, Text> valueToText, Function<GameOptions, T> getter, CyclingOption$Setter<T> setter)
m_167737_(String p_167738_, List<T> p_167739_, Function<T, C_4996_> p_167740_, Function<C_3401_, T> p_167741_, C_3378_$C_141573_<T> p_167742_)
public static <T> CycleOption<T>
a(String arg0, Supplier<List<T>> arg1, Function<T, os> arg2, Function<dvs, T> arg3, dve$a<T> arg4)
create(String arg0, Supplier<List<T>> arg1, Function<T, Component> arg2, Function<Options, T> arg3, CycleOption$OptionSetter<T> arg4)
method_32523(String arg0, Supplier<List<T>> arg1, Function<T, class_2561> arg2, Function<class_315, T> arg3, class_4064$class_5675<T> arg4)
m_kywuhgtn(String arg0, Supplier<List<T>> arg1, Function<T, C_rdaqiwdt> arg2, Function<C_lscptbhn, T> arg3, C_hxxnafqd$C_doimculs<T> arg4)
create(String key, Supplier<List<T>> valuesSupplier, Function<T, Text> valueToText, Function<GameOptions, T> getter, CyclingOption$Setter<T> setter)
m_167747_(String p_167748_, Supplier<List<T>> p_167749_, Function<T, C_4996_> p_167750_, Function<C_3401_, T> p_167751_, C_3378_$C_141573_<T> p_167752_)
public static <T> CycleOption<T>
a(String arg0, List<T> arg1, List<T> arg2, BooleanSupplier arg3, Function<T, os> arg4, Function<dvs, T> arg5, dve$a<T> arg6)
create(String arg0, List<T> arg1, List<T> arg2, BooleanSupplier arg3, Function<T, Component> arg4, Function<Options, T> arg5, CycleOption$OptionSetter<T> arg6)
method_32521(String arg0, List<T> arg1, List<T> arg2, BooleanSupplier arg3, Function<T, class_2561> arg4, Function<class_315, T> arg5, class_4064$class_5675<T> arg6)
m_brtsbkom(String arg0, List<T> arg1, List<T> arg2, BooleanSupplier arg3, Function<T, C_rdaqiwdt> arg4, Function<C_lscptbhn, T> arg5, C_hxxnafqd$C_doimculs<T> arg6)
create(String key, List<T> defaults, List<T> alternatives, BooleanSupplier alternativeToggle, Function<T, Text> valueToText, Function<GameOptions, T> getter, CyclingOption$Setter<T> setter)
m_167729_(String p_167730_, List<T> p_167731_, List<T> p_167732_, BooleanSupplier p_167733_, Function<T, C_4996_> p_167734_, Function<C_3401_, T> p_167735_, C_3378_$C_141573_<T> p_167736_)
public static <T> CycleOption<T>
a(String arg0, T[] arg1, Function<T, os> arg2, Function<dvs, T> arg3, dve$a<T> arg4)
create(String arg0, T[] arg1, Function<T, Component> arg2, Function<Options, T> arg3, CycleOption$OptionSetter<T> arg4)
method_32526(String arg0, T[] arg1, Function<T, class_2561> arg2, Function<class_315, T> arg3, class_4064$class_5675<T> arg4)
m_vwhyemls(String arg0, T[] arg1, Function<T, C_rdaqiwdt> arg2, Function<C_lscptbhn, T> arg3, C_hxxnafqd$C_doimculs<T> arg4)
create(String key, T[] values, Function<T, Text> valueToText, Function<GameOptions, T> getter, CyclingOption$Setter<T> setter)
m_167764_(String p_167765_, T[] p_167766_, Function<T, C_4996_> p_167767_, Function<C_3401_, T> p_167768_, C_3378_$C_141573_<T> p_167769_)
public static CycleOption<Boolean>
a(String arg0, os arg1, os arg2, Function<dvs, Boolean> arg3, dve$a<Boolean> arg4)
createBinaryOption(String arg0, Component arg1, Component arg2, Function<Options, Boolean> arg3, CycleOption$OptionSetter<Boolean> arg4)
method_32525(String arg0, class_2561 arg1, class_2561 arg2, Function<class_315, Boolean> arg3, class_4064$class_5675<Boolean> arg4)
m_asfgxvqh(String arg0, C_rdaqiwdt arg1, C_rdaqiwdt arg2, Function<C_lscptbhn, Boolean> arg3, C_hxxnafqd$C_doimculs<Boolean> arg4)
create(String key, Text on, Text off, Function<GameOptions, Boolean> getter, CyclingOption$Setter<Boolean> setter)
m_167758_(String p_167759_, C_4996_ p_167760_, C_4996_ p_167761_, Function<C_3401_, Boolean> p_167762_, C_3378_$C_141573_<Boolean> p_167763_)
public static CycleOption<Boolean>
a(String arg0, Function<dvs, Boolean> arg1, dve$a<Boolean> arg2)
createOnOff(String arg0, Function<Options, Boolean> arg1, CycleOption$OptionSetter<Boolean> arg2)
method_32522(String arg0, Function<class_315, Boolean> arg1, class_4064$class_5675<Boolean> arg2)
m_obyjvxde(String arg0, Function<C_lscptbhn, Boolean> arg1, C_hxxnafqd$C_doimculs<Boolean> arg2)
create(String key, Function<GameOptions, Boolean> getter, CyclingOption$Setter<Boolean> setter)
m_167743_(String p_167744_, Function<C_3401_, Boolean> p_167745_, C_3378_$C_141573_<Boolean> p_167746_)
public static CycleOption<Boolean>
a(String arg0, os arg1, Function<dvs, Boolean> arg2, dve$a<Boolean> arg3)
createOnOff(String arg0, Component arg1, Function<Options, Boolean> arg2, CycleOption$OptionSetter<Boolean> arg3)
method_32524(String arg0, class_2561 arg1, Function<class_315, Boolean> arg2, class_4064$class_5675<Boolean> arg3)
m_tbbgcrrv(String arg0, C_rdaqiwdt arg1, Function<C_lscptbhn, Boolean> arg2, C_hxxnafqd$C_doimculs<Boolean> arg3)
create(String key, Text tooltip, Function<GameOptions, Boolean> getter, CyclingOption$Setter<Boolean> setter)
m_167753_(String p_167754_, C_4996_ p_167755_, Function<C_3401_, Boolean> p_167756_, C_3378_$C_141573_<Boolean> p_167757_)
public CycleOption<T>
a(Function<dvo, dxf$c<T>> arg0)
setTooltip(Function<Minecraft, CycleButton$TooltipSupplier<T>> arg0)
method_32528(Function<class_310, class_5676$class_5679<T>> arg0)
m_guatccmc(Function<C_ayfeobid, C_ikfvpkkf$C_kfadlkqp<T>> arg0)
tooltip(Function<MinecraftClient, CyclingButtonWidget$TooltipFactory<T>> tooltips)
m_167773_(Function<C_3391_, C_141591_$C_141594_<T>> arg0)
public AbstractWidget
a(dvs 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_90689_, int p_90690_, int p_90691_, int arg3)