Class SpectatorMenu.CloseSpectatorMenuCommand
java.lang.Object
net.minecraft.client.gui.hud.spectator.SpectatorMenu.CloseSpectatorMenuCommand
- All Implemented Interfaces:
SpectatorMenuCommand
- Enclosing class:
SpectatorMenu
@Environment(CLIENT)
private static class SpectatorMenu.CloseSpectatorMenuCommand
extends Object
implements SpectatorMenuCommand
- Mappings:
Namespace Name official fdn$a
intermediary net/minecraft/class_531$class_532
named net/minecraft/client/gui/hud/spectator/SpectatorMenu$CloseSpectatorMenuCommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
void
renderIcon
(DrawContext context, float brightness, int alpha) void
use
(SpectatorMenu menu)
-
Constructor Details
-
CloseSpectatorMenuCommand
CloseSpectatorMenuCommand()
-
-
Method Details
-
use
- Specified by:
use
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector official a
Lfdp;a(Lfdn;)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 aI_
Lfdp;aI_()Ltl;
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
Lfdp;a(Lesf;FI)V
intermediary method_2784
Lnet/minecraft/class_537;method_2784(Lnet/minecraft/class_332;FI)V
named renderIcon
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;renderIcon(Lnet/minecraft/client/gui/DrawContext;FI)V
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector official aJ_
Lfdp;aJ_()Z
intermediary method_16893
Lnet/minecraft/class_537;method_16893()Z
named isEnabled
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z
-