Class TeleportSpectatorMenu
java.lang.Object
net.minecraft.client.gui.hud.spectator.TeleportSpectatorMenu
- All Implemented Interfaces:
SpectatorMenuCommand
,SpectatorMenuCommandGroup
@Environment(CLIENT)
public class TeleportSpectatorMenu
extends Object
implements SpectatorMenuCommandGroup, SpectatorMenuCommand
- Mappings:
Namespace Name named net/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu
intermediary net/minecraft/class_538
official fsn
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<SpectatorMenuCommand> private static final Comparator
<PlayerListEntry> private static final Text
private static final Text
private static final Identifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
void
renderIcon
(DrawContext context, float brightness, int alpha) void
use
(SpectatorMenu menu)
-
Field Details
-
TELEPORT_TO_PLAYER_TEXTURE
- Mappings:
Namespace Name Mixin selector named TELEPORT_TO_PLAYER_TEXTURE
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;TELEPORT_TO_PLAYER_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45582
Lnet/minecraft/class_538;field_45582:Lnet/minecraft/class_2960;
official a
Lfsn;a:Lalf;
-
ORDERING
- Mappings:
Namespace Name Mixin selector named ORDERING
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;ORDERING:Ljava/util/Comparator;
intermediary field_3267
Lnet/minecraft/class_538;field_3267:Ljava/util/Comparator;
official b
Lfsn;b:Ljava/util/Comparator;
-
TELEPORT_TEXT
- Mappings:
Namespace Name Mixin selector named TELEPORT_TEXT
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;TELEPORT_TEXT:Lnet/minecraft/text/Text;
intermediary field_26616
Lnet/minecraft/class_538;field_26616:Lnet/minecraft/class_2561;
official c
Lfsn;c:Lxp;
-
PROMPT_TEXT
- Mappings:
Namespace Name Mixin selector named PROMPT_TEXT
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;PROMPT_TEXT:Lnet/minecraft/text/Text;
intermediary field_26617
Lnet/minecraft/class_538;field_26617:Lnet/minecraft/class_2561;
official d
Lfsn;d:Lxp;
-
elements
- Mappings:
Namespace Name Mixin selector named elements
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;elements:Ljava/util/List;
intermediary field_3268
Lnet/minecraft/class_538;field_3268:Ljava/util/List;
official e
Lfsn;e:Ljava/util/List;
-
-
Constructor Details
-
TeleportSpectatorMenu
public TeleportSpectatorMenu() -
TeleportSpectatorMenu
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;<init>(Ljava/util/Collection;)V
intermediary <init>
Lnet/minecraft/class_538;<init>(Ljava/util/Collection;)V
official <init>
Lfsn;<init>(Ljava/util/Collection;)V
-
-
Method Details
-
getCommands
- Specified by:
getCommands
in interfaceSpectatorMenuCommandGroup
- Mappings:
Namespace Name Mixin selector named getCommands
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;getCommands()Ljava/util/List;
intermediary method_2780
Lnet/minecraft/class_535;method_2780()Ljava/util/List;
official a
Lfsj;a()Ljava/util/List;
-
getPrompt
- Specified by:
getPrompt
in interfaceSpectatorMenuCommandGroup
- Mappings:
Namespace Name Mixin selector named getPrompt
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;getPrompt()Lnet/minecraft/text/Text;
intermediary method_2781
Lnet/minecraft/class_535;method_2781()Lnet/minecraft/class_2561;
official b
Lfsj;b()Lxp;
-
use
- Specified by:
use
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector named use
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;use(Lnet/minecraft/client/gui/hud/spectator/SpectatorMenu;)V
intermediary method_2783
Lnet/minecraft/class_537;method_2783(Lnet/minecraft/class_531;)V
official a
Lfsk;a(Lfsi;)V
-
getName
- Specified by:
getName
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;getName()Lnet/minecraft/text/Text;
intermediary method_16892
Lnet/minecraft/class_537;method_16892()Lnet/minecraft/class_2561;
official aN_
Lfsk;aN_()Lxp;
-
renderIcon
- Specified by:
renderIcon
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector named renderIcon
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;renderIcon(Lnet/minecraft/client/gui/DrawContext;FI)V
intermediary method_2784
Lnet/minecraft/class_537;method_2784(Lnet/minecraft/class_332;FI)V
official a
Lfsk;a(Lfgs;FI)V
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector named isEnabled
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z
intermediary method_16893
Lnet/minecraft/class_537;method_16893()Z
official aO_
Lfsk;aO_()Z
-