Class SpectatorMenuState
java.lang.Object
net.minecraft.client.gui.hud.spectator.SpectatorMenuState
@Environment(CLIENT) public class SpectatorMenuState extends Object
- Mappings:
Namespace Name official dzi
intermediary net/minecraft/class_539
named net/minecraft/client/gui/hud/spectator/SpectatorMenuState
-
Field Summary
Fields Modifier and Type Field Description private List<SpectatorMenuCommand>
commands
private int
selectedSlot
-
Constructor Summary
Constructors Constructor Description SpectatorMenuState(List<SpectatorMenuCommand> commands, int selectedSlot)
-
Method Summary
Modifier and Type Method Description SpectatorMenuCommand
getCommand(int slot)
int
getSelectedSlot()
-
Field Details
-
commands
- Mappings:
Namespace Name Mixin selector official a
Ldzi;a:Ljava/util/List;
intermediary field_3271
Lnet/minecraft/class_539;field_3271:Ljava/util/List;
named commands
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;commands:Ljava/util/List;
-
selectedSlot
private final int selectedSlot- Mappings:
Namespace Name Mixin selector official b
Ldzi;b:I
intermediary field_3269
Lnet/minecraft/class_539;field_3269:I
named selectedSlot
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;selectedSlot:I
-
-
Constructor Details
-
SpectatorMenuState
- Mappings:
Namespace Name Mixin selector official <init>
Ldzi;<init>(Ljava/util/List;I)V
intermediary <init>
Lnet/minecraft/class_539;<init>(Ljava/util/List;I)V
named <init>
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;<init>(Ljava/util/List;I)V
-
-
Method Details
-
getCommand
- Mappings:
Namespace Name Mixin selector official a
Ldzi;a(I)Ldzg;
intermediary method_2786
Lnet/minecraft/class_539;method_2786(I)Lnet/minecraft/class_537;
named getCommand
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;getCommand(I)Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;
-
getSelectedSlot
public int getSelectedSlot()- Mappings:
Namespace Name Mixin selector official a
Ldzi;a()I
intermediary method_2787
Lnet/minecraft/class_539;method_2787()I
named getSelectedSlot
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuState;getSelectedSlot()I
-