Class SpectatorMenu.ChangePageSpectatorMenuCommand
java.lang.Object
net.minecraft.client.gui.hud.spectator.SpectatorMenu.ChangePageSpectatorMenuCommand
- All Implemented Interfaces:
SpectatorMenuCommand
- Enclosing class:
SpectatorMenu
@Environment(CLIENT)
private static class SpectatorMenu.ChangePageSpectatorMenuCommand
extends Object
implements SpectatorMenuCommand
- Mappings:
Namespace Name official epy$b
intermediary net/minecraft/class_531$class_533
named net/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
void
renderIcon
(MatrixStack matrices, float brightness, int alpha) void
use
(SpectatorMenu menu)
-
Field Details
-
direction
private final int direction- Mappings:
Namespace Name Mixin selector official a
Lepy$b;a:I
intermediary field_3264
Lnet/minecraft/class_531$class_533;field_3264:I
named direction
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand;direction:I
-
enabled
private final boolean enabled- Mappings:
Namespace Name Mixin selector official b
Lepy$b;b:Z
intermediary field_3265
Lnet/minecraft/class_531$class_533;field_3265:Z
named enabled
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand;enabled:Z
-
-
Constructor Details
-
ChangePageSpectatorMenuCommand
public ChangePageSpectatorMenuCommand(int direction, boolean enabled) - Mappings:
Namespace Name Mixin selector official <init>
Lepy$b;<init>(IZ)V
intermediary <init>
Lnet/minecraft/class_531$class_533;<init>(IZ)V
named <init>
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand;<init>(IZ)V
-
-
Method Details
-
use
- Specified by:
use
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector official a
Leqa;a(Lepy;)V
intermediary method_2783
Lnet/minecraft/class_537;method_2783(Lnet/minecraft/class_531;)V
named use
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;use(Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;)V
-
getName
- Specified by:
getName
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector official ak_
Leqa;ak_()Lrq;
intermediary method_16892
Lnet/minecraft/class_537;method_16892()Lnet/minecraft/class_2561;
named getName
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;getName()Lnet/minecraft/text/Text;
-
renderIcon
- Specified by:
renderIcon
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector official a
Leqa;a(Leaq;FI)V
intermediary method_2784
Lnet/minecraft/class_537;method_2784(Lnet/minecraft/class_4587;FI)V
named renderIcon
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;renderIcon(Lnet/minecraft/client/util/math/MatrixStack;FI)V
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector official al_
Leqa;al_()Z
intermediary method_16893
Lnet/minecraft/class_537;method_16893()Z
named isEnabled
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z
-