Uses of Interface
net.minecraft.client.gui.widget.CyclingButtonWidget.UpdateCallback
-
Uses of CyclingButtonWidget.UpdateCallback in net.minecraft.client.gui.widget
Modifier and TypeFieldDescriptionprivate final CyclingButtonWidget.UpdateCallback
<T> CyclingButtonWidget.callback
Modifier and TypeMethodDescriptionCyclingButtonWidget.Builder.build
(int x, int y, int width, int height, Text optionText, CyclingButtonWidget.UpdateCallback<T> callback) Builds a cycling button widget.CyclingButtonWidget.Builder.build
(Text optionText, CyclingButtonWidget.UpdateCallback<T> callback) ModifierConstructorDescription(package private)
CyclingButtonWidget
(int x, int y, int width, int height, Text message, Text optionText, int index, T value, CyclingButtonWidget.Values<T> values, Function<T, Text> valueToText, Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory, CyclingButtonWidget.UpdateCallback<T> callback, SimpleOption.TooltipFactory<T> tooltipFactory, boolean optionTextOmitted) -
Uses of CyclingButtonWidget.UpdateCallback in net.minecraft.client.realms.gui.screen
Modifier and TypeMethodDescriptionRealmsSlotOptionsScreen.getSpawnToggleButtonCallback
(Text text, Consumer<Boolean> valueSetter)