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 final SpectatorMenuItem(package private) static final Componentstatic final SpectatorMenuItemprivate final SpectatorMenuListenerprivate static final int(package private) static final Component(package private) int(package private) static final Componentprivate static final SpectatorMenuItemprivate static final SpectatorMenuItemprivate static final 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:
-
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
-