Class SpectatorMenu
java.lang.Object
net.minecraft.client.gui.spectator.SpectatorMenu
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) static class(package private) static class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate SpectatorMenuCategoryprivate static final SpectatorMenuItem(package private) static final Component(package private) static final ResourceLocationstatic final SpectatorMenuItemprivate final SpectatorMenuListenerprivate static final int(package private) static final Component(package private) int(package private) static final Componentprivate static final SpectatorMenuItem(package private) static final ResourceLocationprivate static final SpectatorMenuItemprivate static final SpectatorMenuItem(package private) static final ResourceLocationprivate int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexit()getItem(int p_101788_) getItems()intvoidselectCategory(SpectatorMenuCategory p_101795_) voidselectSlot(int p_101798_) 
- 
Field Details- 
CLOSE_SPRITE
- 
SCROLL_LEFT_SPRITE
- 
SCROLL_RIGHT_SPRITE
- 
CLOSE_ITEM
- 
SCROLL_LEFT
- 
SCROLL_RIGHT_ENABLED
- 
SCROLL_RIGHT_DISABLED
- 
MAX_PER_PAGEprivate static final int MAX_PER_PAGE- See Also:
 
- 
CLOSE_MENU_TEXT
- 
PREVIOUS_PAGE_TEXT
- 
NEXT_PAGE_TEXT
- 
EMPTY_SLOT
- 
listener
- 
category
- 
selectedSlotprivate int selectedSlot
- 
pageint page
 
- 
- 
Constructor Details- 
SpectatorMenu
 
- 
- 
Method Details- 
getItem
- 
getItems
- 
getSelectedItem
- 
getSelectedCategory
- 
selectSlotpublic void selectSlot(int p_101798_) 
- 
exitpublic void exit()
- 
getSelectedSlotpublic int getSelectedSlot()
- 
selectCategory
- 
getCurrentPage
 
-