Class SpectatorMenu
java.lang.Object
net.minecraft.client.gui.spectator.SpectatorMenu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SpectatorMenuCategoryprivate static final SpectatorMenuItemprivate static final Componentprivate static final Identifierstatic final SpectatorMenuItemprivate final SpectatorMenuListenerprivate static final intprivate static final Componentprivate intprivate static final Componentprivate static final SpectatorMenuItemprivate static final Identifierprivate static final SpectatorMenuItemprivate static final SpectatorMenuItemprivate static final Identifierprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexit()getItem(int slot) getItems()intvoidselectCategory(SpectatorMenuCategory category) voidselectSlot(int slot)
-
Field Details
-
CLOSE_SPRITE
-
SCROLL_LEFT_SPRITE
-
SCROLL_RIGHT_SPRITE
-
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
private int page
-
-
Constructor Details
-
SpectatorMenu
-
-
Method Details
-
getItem
-
getItems
-
getSelectedItem
-
getSelectedCategory
-
selectSlot
public void selectSlot(int slot) -
exit
public void exit() -
getSelectedSlot
public int getSelectedSlot() -
selectCategory
-
getCurrentPage
-