Class TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand
java.lang.Object
net.minecraft.client.gui.hud.spectator.TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand
- All Implemented Interfaces:
SpectatorMenuCommand
- Enclosing class:
TeamTeleportSpectatorMenu
@Environment(CLIENT)
private static class TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand
extends Object
implements SpectatorMenuCommand
- Mappings:
Namespace Name official eze$a
intermediary net/minecraft/class_540$class_541
named net/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<PlayerListEntry>
private final Identifier
private final Team
-
Constructor Summary
ModifierConstructorDescriptionprivate
TeleportToSpecificTeamCommand
(Team team, List<PlayerListEntry> scoreboardEntries, Identifier skinId) -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<SpectatorMenuCommand>
create
(MinecraftClient client, Team team) getName()
boolean
void
renderIcon
(DrawContext context, float brightness, int alpha) void
use
(SpectatorMenu menu)
-
Field Details
-
team
- Mappings:
Namespace Name Mixin selector official a
Leze$a;a:Leeq;
intermediary field_3275
Lnet/minecraft/class_540$class_541;field_3275:Lnet/minecraft/class_268;
named team
Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand;team:Lnet/minecraft/scoreboard/Team;
-
skinId
- Mappings:
Namespace Name Mixin selector official b
Leze$a;b:Lacq;
intermediary field_41115
Lnet/minecraft/class_540$class_541;field_41115:Lnet/minecraft/class_2960;
named skinId
Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand;skinId:Lnet/minecraft/util/Identifier;
-
scoreboardEntries
- Mappings:
Namespace Name Mixin selector official c
Leze$a;c:Ljava/util/List;
intermediary field_3274
Lnet/minecraft/class_540$class_541;field_3274:Ljava/util/List;
named scoreboardEntries
Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand;scoreboardEntries:Ljava/util/List;
-
-
Constructor Details
-
TeleportToSpecificTeamCommand
private TeleportToSpecificTeamCommand(Team team, List<PlayerListEntry> scoreboardEntries, Identifier skinId) - Mappings:
Namespace Name Mixin selector official <init>
Leze$a;<init>(Leeq;Ljava/util/List;Lacq;)V
intermediary <init>
Lnet/minecraft/class_540$class_541;<init>(Lnet/minecraft/class_268;Ljava/util/List;Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand;<init>(Lnet/minecraft/scoreboard/Team;Ljava/util/List;Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Leze$a;a(Lemz;Leeq;)Ljava/util/Optional;
intermediary method_47433
Lnet/minecraft/class_540$class_541;method_47433(Lnet/minecraft/class_310;Lnet/minecraft/class_268;)Ljava/util/Optional;
named create
Lnet/minecraft/client/gui/hud/spectator/TeamTeleportSpectatorMenu$TeleportToSpecificTeamCommand;create(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/scoreboard/Team;)Ljava/util/Optional;
-
use
- Specified by:
use
in interfaceSpectatorMenuCommand
- Mappings:
Namespace Name Mixin selector official a
Leza;a(Leyy;)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_
Leza;aI_()Lsw;
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
Leza;a(Leoj;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_
Leza;aJ_()Z
intermediary method_16893
Lnet/minecraft/class_537;method_16893()Z
named isEnabled
Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommand;isEnabled()Z
-