Class SpectatorMenu
java.lang.Object
net.minecraft.client.gui.spectator.SpectatorMenu
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate ISpectatorMenuView
private static final ISpectatorMenuObject
private static final ITextComponent
static final ISpectatorMenuObject
private final ISpectatorMenuRecipient
private static final ITextComponent
private int
private static final ITextComponent
private static final ISpectatorMenuObject
private static final ISpectatorMenuObject
private static final ISpectatorMenuObject
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exit()
getItem
(int p_178643_1_) getItems()
int
void
selectCategory
(ISpectatorMenuView p_178647_1_) void
selectSlot
(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
-