Class SpectatorMenu.ScrollMenuItem
java.lang.Object
net.minecraft.client.gui.spectator.SpectatorMenu.ScrollMenuItem
- All Implemented Interfaces:
SpectatorMenuItem
- Enclosing class:
- SpectatorMenu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
void
renderIcon
(PoseStack p_101832_, float p_101833_, int p_101834_) void
selectItem
(SpectatorMenu p_101836_)
-
Field Details
-
direction
private final int direction -
enabled
private final boolean enabled
-
-
Constructor Details
-
ScrollMenuItem
public ScrollMenuItem(int p_101829_, boolean p_101830_)
-
-
Method Details
-
selectItem
- Specified by:
selectItem
in interfaceSpectatorMenuItem
-
getName
- Specified by:
getName
in interfaceSpectatorMenuItem
-
renderIcon
- Specified by:
renderIcon
in interfaceSpectatorMenuItem
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceSpectatorMenuItem
-