类 PlayerMenuItem
java.lang.Object
net.minecraft.client.gui.spectator.PlayerMenuItem
- 所有已实现的接口:
SpectatorMenuItem
-
字段概要
字段修饰符和类型字段说明private final ResourceLocation
private final Component
private final com.mojang.authlib.GameProfile
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getName()
boolean
void
renderIcon
(GuiGraphics pGuiGraphics, float pShadeColor, int pAlpha) void
selectItem
(SpectatorMenu pMenu)
-
字段详细资料
-
profile
private final com.mojang.authlib.GameProfile profile -
location
-
name
-
-
构造器详细资料
-
PlayerMenuItem
public PlayerMenuItem(com.mojang.authlib.GameProfile pProfile)
-
-
方法详细资料
-
selectItem
- 指定者:
selectItem
在接口中SpectatorMenuItem
-
getName
- 指定者:
getName
在接口中SpectatorMenuItem
-
renderIcon
- 指定者:
renderIcon
在接口中SpectatorMenuItem
-
isEnabled
public boolean isEnabled()- 指定者:
isEnabled
在接口中SpectatorMenuItem
-