Uses of Class
net.minecraft.client.gui.components.CycleButton
Package
Description
-
Uses of CycleButton in net.minecraft.client.gui.components
Modifier and TypeFieldDescriptionprivate Function<CycleButton<T>,
MutableComponent> CycleButton.Builder.narrationProvider
private final Function<CycleButton<T>,
MutableComponent> CycleButton.narrationProvider
Modifier and TypeMethodDescriptionCycleButton.Builder.create
(int p_168931_, int p_168932_, int p_168933_, int p_168934_, Component p_168935_) CycleButton.Builder.create
(int p_168937_, int p_168938_, int p_168939_, int p_168940_, Component p_168941_, CycleButton.OnValueChange<T> p_168942_) Modifier and TypeMethodDescriptionvoid
CycleButton.OnValueChange.onValueChange
(CycleButton<T> p_168966_, T p_168967_) Modifier and TypeMethodDescriptionCycleButton.Builder.withCustomNarration
(Function<CycleButton<T>, MutableComponent> p_168960_) -
Uses of CycleButton in net.minecraft.client.gui.screens
Modifier and TypeMethodDescriptionstatic CycleButton<Difficulty>
OptionsScreen.createDifficultyButton
(int p_262051_, int p_261805_, String p_261598_, Minecraft p_261922_) -
Uses of CycleButton in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionprivate CycleButton<Boolean>
CommandBlockEditScreen.autoexecButton
private CycleButton<Boolean>
CommandBlockEditScreen.conditionalButton
private CycleButton<Boolean>
StructureBlockEditScreen.includeEntitiesButton
private CycleButton<JigsawBlockEntity.JointType>
JigsawBlockEditScreen.jointButton
private CycleButton<Mirror>
StructureBlockEditScreen.mirrorButton
private CycleButton<CommandBlockEntity.Mode>
CommandBlockEditScreen.modeButton
protected CycleButton<Boolean>
AbstractCommandBlockEditScreen.outputButton
private CycleButton<Boolean>
StructureBlockEditScreen.toggleAirButton
private CycleButton<Boolean>
StructureBlockEditScreen.toggleBoundingBox
-
Uses of CycleButton in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate final CycleButton<Boolean>
SwitchGrid.LabeledSwitch.button
The field for thebutton
record component.private final CycleButton<Boolean>
EditGameRulesScreen.BooleanRuleEntry.checkbox
Modifier and TypeMethodDescriptionSwitchGrid.LabeledSwitch.button()
Returns the value of thebutton
record component.Modifier and TypeMethodDescriptionprivate static MutableComponent
CreateWorldScreen.WorldTab.createTypeButtonNarration
(CycleButton<WorldCreationUiState.WorldTypeEntry> p_268292_) ModifierConstructorDescription(package private)
LabeledSwitch
(CycleButton<Boolean> button, BooleanSupplier stateSupplier, BooleanSupplier isActiveCondition) Creates an instance of aLabeledSwitch
record class.