net.minecraft.client.gui.components

public class CycleButton$Builder<T>

elf$a
net.minecraft.client.gui.components.CycleButton$Builder
net.minecraft.class_5676$class_5677
net.minecraft.unmapped.C_ikfvpkkf$C_djnbpyue
net.minecraft.client.gui.widget.CyclingButtonWidget$Builder
net.minecraft.client.gui.widget.CyclingButtonWidget$Builder
net.minecraft.src.C_141591_$C_141592_

Field summary

Modifier and TypeField
private int
a
initialIndex
field_27972
f_gntjovxt
initialIndex
initialIndex
f_168920_
private T
b
initialValue
field_27973
f_gmdgxahb
value
value
f_168921_
private final Function<T, Component>
c
valueStringifier
field_27974
f_pqufyfbe
valueToText
valueToText
f_168922_
private OptionInstance$TooltipSupplier<T>
d
tooltipSupplier
field_27975
f_nndpoujz
tooltipFactory
tooltipSupplier
f_168923_
private Function<CycleButton<T>, MutableComponent>
e
narrationProvider
field_27976
f_qzlybxkn
narrationMessageFactory
narrationMessageFactory
f_168924_
private CycleButton$ValueListSupplier<T>
f
values
field_27977
f_yckmykpa
values
values
f_168925_
private boolean
g
displayOnlyValue
field_27978
f_ckzcauof
optionTextOmitted
optionTextOmitted
f_168926_

Constructor summary

ModifierConstructor
public (Function<T, Component> valueToText)

Method summary

Modifier and TypeMethod
public CycleButton$Builder<T>
a(Collection<T> arg0)
withValues(Collection<T> arg0)
method_32620(Collection<T> arg0)
m_alxxamyn(Collection<T> arg0)
values(Collection<T> values)
values(Collection<T> values)
m_232502_(Collection<T> arg0)
public final CycleButton$Builder<T>
a(T... arg0)
withValues(T... arg0)
method_32624(T... arg0)
m_vahoyxin(T... arg0)
values(T... values)
values(T... values)
m_168961_(T... arg0)
public CycleButton$Builder<T>
a(List<T> arg0, List<T> arg1)
withValues(List<T> arg0, List<T> arg1)
method_32621(List<T> arg0, List<T> arg1)
m_phudjdis(List<T> arg0, List<T> arg1)
values(List<T> defaults, List<T> alternatives)
values(List<T> defaults, List<T> alternatives)
m_168952_(List<T> p_168954_, List<T> arg1)
public CycleButton$Builder<T>
a(BooleanSupplier arg0, List<T> arg1, List<T> arg2)
withValues(BooleanSupplier arg0, List<T> arg1, List<T> arg2)
method_32622(BooleanSupplier arg0, List<T> arg1, List<T> arg2)
m_slcrhxfa(BooleanSupplier arg0, List<T> arg1, List<T> arg2)
values(BooleanSupplier alternativeToggle, List<T> defaults, List<T> alternatives)
values(BooleanSupplier alternativeToggle, List<T> defaults, List<T> alternatives)
m_168955_(BooleanSupplier p_168957_, List<T> p_168958_, List<T> arg2)
public CycleButton$Builder<T>
a(elf$c<T> arg0)
withValues(CycleButton$ValueListSupplier<T> arg0)
method_42729(class_5676$class_5680<T> arg0)
m_zrnvdsew(C_ikfvpkkf$C_qjymjbvs<T> arg0)
values(CyclingButtonWidget$Values<T> values)
values(CyclingButtonWidget$Values<T> values)
m_232500_(C_141591_$C_141595_<T> arg0)
public CycleButton$Builder<T>
a(eji$l<T> arg0)
withTooltip(OptionInstance$TooltipSupplier<T> arg0)
method_32618(class_7172$class_7277<T> arg0)
m_pgowzken(C_vbibxkxv$C_msgaqezv<T> arg0)
tooltip(SimpleOption$TooltipFactory<T> tooltipFactory)
tooltip(Option$TooltipSupplier<T> tooltipSupplier)
m_232498_(C_213334_$C_213348_<T> arg0)
public CycleButton$Builder<T>
a(T arg0)
withInitialValue(T arg0)
method_32619(T arg0)
m_jippvtaa(T arg0)
initially(T value)
initially(T value)
m_168948_(T arg0)
public CycleButton$Builder<T>
a(Function<elf<T>, tf> arg0)
withCustomNarration(Function<CycleButton<T>, MutableComponent> arg0)
method_32623(Function<class_5676<T>, class_5250> arg0)
m_okxigtfi(Function<C_ikfvpkkf<T>, C_npqneive> arg0)
narration(Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory)
narration(Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory)
m_168959_(Function<C_141591_<T>, C_5012_> arg0)
public CycleButton$Builder<T>
a()
displayOnlyValue()
method_32616()
m_niborfvs()
omitKeyText()
omitKeyText()
m_168929_()
public CycleButton<T>
a(int arg0, int arg1, int arg2, int arg3, ss arg4)
create(int arg0, int arg1, int arg2, int arg3, Component arg4)
method_35723(int arg0, int arg1, int arg2, int arg3, class_2561 arg4)
m_obuyizim(int arg0, int arg1, int arg2, int arg3, C_rdaqiwdt arg4)
build(int x, int y, int width, int height, Text optionText)
build(int x, int y, int width, int height, Text optionText)
m_168930_(int p_168932_, int p_168933_, int p_168934_, int p_168935_, C_4996_ arg4)
public CycleButton<T>
a(int arg0, int arg1, int arg2, int arg3, ss arg4, elf$b<T> arg5)
create(int arg0, int arg1, int arg2, int arg3, Component arg4, CycleButton$OnValueChange<T> arg5)
method_32617(int arg0, int arg1, int arg2, int arg3, class_2561 arg4, class_5676$class_5678<T> arg5)
m_mjhejcny(int arg0, int arg1, int arg2, int arg3, C_rdaqiwdt arg4, C_ikfvpkkf$C_hmzkrfiv<T> arg5)
build(int x, int y, int width, int height, Text optionText, CyclingButtonWidget$UpdateCallback<T> callback)
build(int x, int y, int width, int height, Text optionText, CyclingButtonWidget$UpdateCallback<T> callback)
m_168936_(int p_168938_, int p_168939_, int p_168940_, int p_168941_, C_4996_ p_168942_, C_141591_$C_141593_<T> arg5)