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 official dzj
intermediary net/minecraft/class_538
named net/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu
-
Field Summary
Fields Modifier and Type Field Description private List<SpectatorMenuCommand>
elements
private static Ordering<PlayerListEntry>
ORDERING
private static Text
PROMPT_TEXT
private static Text
TELEPORT_TEXT
-
Constructor Summary
Constructors Constructor Description TeleportSpectatorMenu()
TeleportSpectatorMenu(Collection<PlayerListEntry> entries)
-
Method Summary
Modifier and Type Method Description List<SpectatorMenuCommand>
getCommands()
Text
getName()
Text
getPrompt()
boolean
isEnabled()
void
renderIcon(MatrixStack matrices, float float2, int int2)
void
use(SpectatorMenu menu)
-
Field Details
-
ORDERING
- Mappings:
Namespace Name Mixin selector official a
Ldzj;a:Lcom/google/common/collect/Ordering;
intermediary field_3267
Lnet/minecraft/class_538;field_3267:Lcom/google/common/collect/Ordering;
named ORDERING
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;ORDERING:Lcom/google/common/collect/Ordering;
-
TELEPORT_TEXT
- Mappings:
Namespace Name Mixin selector official b
Ldzj;b:Loi;
intermediary field_26616
Lnet/minecraft/class_538;field_26616:Lnet/minecraft/class_2561;
named TELEPORT_TEXT
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;TELEPORT_TEXT:Lnet/minecraft/text/Text;
-
PROMPT_TEXT
- Mappings:
Namespace Name Mixin selector official c
Ldzj;c:Loi;
intermediary field_26617
Lnet/minecraft/class_538;field_26617:Lnet/minecraft/class_2561;
named PROMPT_TEXT
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;PROMPT_TEXT:Lnet/minecraft/text/Text;
-
elements
- Mappings:
Namespace Name Mixin selector official d
Ldzj;d:Ljava/util/List;
intermediary field_3268
Lnet/minecraft/class_538;field_3268:Ljava/util/List;
named elements
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;elements:Ljava/util/List;
-
-
Constructor Details
-
TeleportSpectatorMenu
public TeleportSpectatorMenu() -
TeleportSpectatorMenu
- Mappings:
Namespace Name Mixin selector official <init>
Ldzj;<init>(Ljava/util/Collection;)V
intermediary <init>
Lnet/minecraft/class_538;<init>(Ljava/util/Collection;)V
named <init>
Lnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;<init>(Ljava/util/Collection;)V
-
-
Method Details
-
getCommands
- Specified by:
getCommands
in interfaceSpectatorMenuCommandGroup
- Mappings:
Namespace Name Mixin selector official a
Ldzf;a()Ljava/util/List;
intermediary method_2780
Lnet/minecraft/class_535;method_2780()Ljava/util/List;
named getCommands
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;getCommands()Ljava/util/List;
-
getPrompt
- Specified by:
getPrompt
in interfaceSpectatorMenuCommandGroup
- Mappings:
Namespace Name Mixin selector official b
Ldzf;b()Loi;
intermediary method_2781
Lnet/minecraft/class_535;method_2781()Lnet/minecraft/class_2561;
named getPrompt
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;getPrompt()Lnet/minecraft/text/Text;
-
use
- Specified by:
use
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector official a
Ldzg;a(Ldze;)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 aF_
Ldzg;aF_()Loi;
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
Ldzg;a(Ldlr;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 aG_
Ldzg;aG_()Z
intermediary method_16893
Lnet/minecraft/class_537;method_16893()Z
named isEnabled
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z
-