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 ISpectatorMenuViewprivate static final ISpectatorMenuObjectprivate static final ITextComponentstatic final ISpectatorMenuObjectprivate final ISpectatorMenuRecipientprivate static final ITextComponentprivate intprivate static final ITextComponentprivate static final ISpectatorMenuObjectprivate static final ISpectatorMenuObjectprivate static final ISpectatorMenuObjectprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexit()getItem(int p_178643_1_) getItems()intvoidselectCategory(ISpectatorMenuView p_178647_1_) voidselectSlot(int p_178644_1_)
-
Field Details
-
CLOSE_ITEM
-
SCROLL_LEFT
-
SCROLL_RIGHT_ENABLED
-
SCROLL_RIGHT_DISABLED
-
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 p_178644_1_) -
exit
public void exit() -
getSelectedSlot
public int getSelectedSlot() -
selectCategory
-
getCurrentPage
-