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 bakintermediary net/minecraft/class_839named net/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu
-
Field Summary
Fields Modifier and Type Field Description private List<SpectatorMenuCommand>elementsprivate static Ordering<PlayerListEntry>ORDERING -
Constructor Summary
Constructors Constructor Description TeleportSpectatorMenu()TeleportSpectatorMenu(Collection<PlayerListEntry> collection) -
Method Summary
Modifier and Type Method Description TextgetName()TextgetPrompt()booleanisEnabled()List<SpectatorMenuCommand>method_3035()voidrenderIcon(float brightness, int alpha)voiduse(SpectatorMenu menu)
-
Field Details
-
ORDERING
- Mappings:
Namespace Name Mixin selector official aLbak;a:Lcom/google/common/collect/Ordering;intermediary field_3660Lnet/minecraft/class_839;field_3660:Lcom/google/common/collect/Ordering;named ORDERINGLnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;ORDERING:Lcom/google/common/collect/Ordering;
-
elements
- Mappings:
Namespace Name Mixin selector official bLbak;b:Ljava/util/List;intermediary field_3661Lnet/minecraft/class_839;field_3661:Ljava/util/List;named elementsLnet/minecraft/client/gui/hud/spectator/TeleportSpectatorMenu;elements:Ljava/util/List;
-
-
Constructor Details
-
TeleportSpectatorMenu
public TeleportSpectatorMenu() -
TeleportSpectatorMenu
-
-
Method Details
-
method_3035
- Specified by:
method_3035in interfaceSpectatorMenuCommandGroup- Mappings:
Namespace Name Mixin selector official aLbag;a()Ljava/util/List;intermediary method_3035Lnet/minecraft/class_835;method_3035()Ljava/util/List;named method_3035Lnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;method_3035()Ljava/util/List;
-
getPrompt
- Specified by:
getPromptin interfaceSpectatorMenuCommandGroup- Mappings:
Namespace Name Mixin selector official bLbag;b()Leu;intermediary method_3036Lnet/minecraft/class_835;method_3036()Lnet/minecraft/class_1444;named getPromptLnet/minecraft/client/gui/hud/spectator/SpectatorMenuCommandGroup;getPrompt()Lnet/minecraft/text/Text;
-
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
-