Class SpectatorMenu.ChangePageSpectatorMenuCommand
java.lang.Object
net.minecraft.client.gui.hud.spectator.SpectatorMenu.ChangePageSpectatorMenuCommand
- All Implemented Interfaces:
SpectatorMenuCommand
- Enclosing class:
- SpectatorMenu
@Environment(CLIENT) static class SpectatorMenu.ChangePageSpectatorMenuCommand extends Object implements SpectatorMenuCommand
- Mappings:
Namespace Name official baf$bintermediary net/minecraft/class_832$class_834named net/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChangePageSpectatorMenuCommand(int int2, boolean bool) -
Method Summary
Modifier and Type Method Description TextgetName()booleanisEnabled()voidrenderIcon(float brightness, int alpha)voiduse(SpectatorMenu menu)
-
Field Details
-
direction
private final int direction- Mappings:
Namespace Name Mixin selector official aLbaf$b;a:Iintermediary field_3655Lnet/minecraft/class_832$class_834;field_3655:Inamed directionLnet/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand;direction:I
-
enabled
private final boolean enabled- Mappings:
Namespace Name Mixin selector official bLbaf$b;b:Zintermediary field_3656Lnet/minecraft/class_832$class_834;field_3656:Znamed enabledLnet/minecraft/client/gui/hud/spectator/SpectatorMenu$ChangePageSpectatorMenuCommand;enabled:Z
-
-
Constructor Details
-
ChangePageSpectatorMenuCommand
public ChangePageSpectatorMenuCommand(int int2, boolean bool)
-
-
Method Details
-
use
- Specified by:
usein interfaceSpectatorMenuCommand- Mappings:
Namespace Name Mixin selector official aLbah;a(Lbaf;)Vintermediary method_3040Lnet/minecraft/class_836;method_3040(Lnet/minecraft/class_832;)Vnamed useLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;use(Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;)V
-
getName
- Specified by:
getNamein interfaceSpectatorMenuCommand- Mappings:
Namespace Name Mixin selector official A_Lbah;A_()Leu;intermediary method_3037Lnet/minecraft/class_836;method_3037()Lnet/minecraft/class_1444;named getNameLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;getName()Lnet/minecraft/text/Text;
-
renderIcon
public void renderIcon(float brightness, int alpha)- Specified by:
renderIconin interfaceSpectatorMenuCommand- Mappings:
Namespace Name Mixin selector official aLbah;a(FI)Vintermediary method_3039Lnet/minecraft/class_836;method_3039(FI)Vnamed renderIconLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;renderIcon(FI)V
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceSpectatorMenuCommand- Mappings:
Namespace Name Mixin selector official B_Lbah;B_()Zintermediary method_3038Lnet/minecraft/class_836;method_3038()Znamed isEnabledLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z
-