Class SpectatorMenu
java.lang.Object
net.minecraft.client.gui.spectator.SpectatorMenu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SpectatorMenuCategoryprivate static SpectatorMenuItem(package private) static Componentstatic SpectatorMenuItemprivate SpectatorMenuListenerprivate static int(package private) static Component(package private) int(package private) static Componentprivate static SpectatorMenuItemprivate static SpectatorMenuItemprivate static SpectatorMenuItemprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexit()getItem(int p_101788_)getItems()intvoidselectCategory(SpectatorMenuCategory p_101795_)voidselectSlot(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
-