Class SpectatorMenu
java.lang.Object
net.minecraft.client.gui.spectator.SpectatorMenu
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate SpectatorMenuCategory
private static final SpectatorMenuItem
(package private) static final Component
static final SpectatorMenuItem
private final SpectatorMenuListener
private static final int
(package private) static final Component
(package private) int
(package private) static final Component
private static final SpectatorMenuItem
private static final SpectatorMenuItem
private static final SpectatorMenuItem
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exit()
getItem
(int p_101788_) getItems()
int
void
selectCategory
(SpectatorMenuCategory p_101795_) void
selectSlot
(int p_101798_)
-
Field Details
-
CLOSE_ITEM
-
SCROLL_LEFT
-
SCROLL_RIGHT_ENABLED
-
SCROLL_RIGHT_DISABLED
-
MAX_PER_PAGE
private static final int MAX_PER_PAGE- See Also:
-
CLOSE_MENU_TEXT
-
PREVIOUS_PAGE_TEXT
-
NEXT_PAGE_TEXT
-
EMPTY_SLOT
-
listener
-
category
-
selectedSlot
private int selectedSlot -
page
int page
-
-
Constructor Details
-
SpectatorMenu
-
-
Method Details
-
getItem
-
getItems
-
getSelectedItem
-
getSelectedCategory
-
selectSlot
public void selectSlot(int p_101798_) -
exit
public void exit() -
getSelectedSlot
public int getSelectedSlot() -
selectCategory
-
getCurrentPage
-