Uses of Class
net.minecraft.client.gui.widget.CyclingButtonWidget
Package
Description
-
Uses of CyclingButtonWidget in net.minecraft.client.gui.screen.ingame
Modifier and TypeFieldDescriptionprivate CyclingButtonWidget<Boolean>
StructureBlockScreen.buttonEntities
private CyclingButtonWidget<BlockMirror>
StructureBlockScreen.buttonMirror
private CyclingButtonWidget<Boolean>
StructureBlockScreen.buttonShowAir
private CyclingButtonWidget<Boolean>
StructureBlockScreen.buttonShowBoundingBox
private CyclingButtonWidget<Boolean>
CommandBlockScreen.conditionalModeButton
JigsawBlockScreen.jointRotationButton
CommandBlockScreen.modeButton
private CyclingButtonWidget<Boolean>
CommandBlockScreen.redstoneTriggerButton
protected CyclingButtonWidget<Boolean>
AbstractCommandBlockScreen.toggleTrackingOutputButton
-
Uses of CyclingButtonWidget in net.minecraft.client.gui.screen.option
Modifier and TypeFieldDescriptionprivate CyclingButtonWidget<Difficulty>
OptionsScreen.difficultyButton
Modifier and TypeMethodDescriptionstatic CyclingButtonWidget<Difficulty>
OptionsScreen.createDifficultyButtonWidget
(int x, int y, String translationKey, MinecraftClient client) -
Uses of CyclingButtonWidget in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate final CyclingButtonWidget<Boolean>
WorldScreenOptionGrid.Option.button
The field for thebutton
record component.private final CyclingButtonWidget<Boolean>
EditGameRulesScreen.BooleanRuleWidget.toggleButton
Modifier and TypeMethodDescriptionWorldScreenOptionGrid.Option.button()
Returns the value of thebutton
record component.Modifier and TypeMethodDescriptionprivate static MutableText
CreateWorldScreen.WorldTab.getWorldTypeNarrationMessage
(CyclingButtonWidget<WorldCreator.WorldType> worldTypeButton) ModifierConstructorDescription(package private)
Option
(CyclingButtonWidget<Boolean> button, BooleanSupplier getter, @Nullable BooleanSupplier toggleable) Creates an instance of aOption
record class. -
Uses of CyclingButtonWidget in net.minecraft.client.gui.widget
Modifier and TypeFieldDescriptionprivate Function<CyclingButtonWidget<T>,
MutableText> CyclingButtonWidget.Builder.narrationMessageFactory
private final Function<CyclingButtonWidget<T>,
MutableText> CyclingButtonWidget.narrationMessageFactory
Modifier and TypeMethodDescriptionCyclingButtonWidget.Builder.build
(int x, int y, int width, int height, Text optionText, CyclingButtonWidget.UpdateCallback<T> callback) Builds a cycling button widget.Modifier and TypeMethodDescriptionvoid
CyclingButtonWidget.UpdateCallback.onValueChange
(CyclingButtonWidget<T> button, T value) Modifier and TypeMethodDescriptionCyclingButtonWidget.Builder.narration
(Function<CyclingButtonWidget<T>, MutableText> narrationMessageFactory) Overrides the narration message of the button to build.