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 SpectatorMenuItem
(package private) static Component
static SpectatorMenuItem
private SpectatorMenuListener
private static int
(package private) static Component
(package private) int
(package private) static Component
private static SpectatorMenuItem
private static SpectatorMenuItem
private static 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:
- Constant Field Values
-
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
-