Class SpectatorMenu
- java.lang.Object
-
- net.minecraft.client.gui.spectator.SpectatorMenu
-
public class SpectatorMenu extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
SpectatorMenu.EndSpectatorObject
(package private) static class
SpectatorMenu.MoveMenuObject
-
Field Summary
Fields Modifier and Type Field Description private ISpectatorMenuView
category
private static ISpectatorMenuObject
CLOSE_ITEM
private static ITextComponent
CLOSE_MENU_TEXT
static ISpectatorMenuObject
EMPTY_SLOT
private ISpectatorMenuRecipient
listener
private static ITextComponent
NEXT_PAGE_TEXT
private int
page
private static ITextComponent
PREVIOUS_PAGE_TEXT
private static ISpectatorMenuObject
SCROLL_LEFT
private static ISpectatorMenuObject
SCROLL_RIGHT_DISABLED
private static ISpectatorMenuObject
SCROLL_RIGHT_ENABLED
private int
selectedSlot
-
Constructor Summary
Constructors Constructor Description SpectatorMenu(ISpectatorMenuRecipient p_i45497_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exit()
SpectatorDetails
getCurrentPage()
ISpectatorMenuObject
getItem(int p_178643_1_)
java.util.List<ISpectatorMenuObject>
getItems()
ISpectatorMenuView
getSelectedCategory()
ISpectatorMenuObject
getSelectedItem()
int
getSelectedSlot()
void
selectCategory(ISpectatorMenuView p_178647_1_)
void
selectSlot(int p_178644_1_)
-
-
-
Field Detail
-
CLOSE_ITEM
private static final ISpectatorMenuObject CLOSE_ITEM
-
SCROLL_LEFT
private static final ISpectatorMenuObject SCROLL_LEFT
-
SCROLL_RIGHT_ENABLED
private static final ISpectatorMenuObject SCROLL_RIGHT_ENABLED
-
SCROLL_RIGHT_DISABLED
private static final ISpectatorMenuObject SCROLL_RIGHT_DISABLED
-
CLOSE_MENU_TEXT
private static final ITextComponent CLOSE_MENU_TEXT
-
PREVIOUS_PAGE_TEXT
private static final ITextComponent PREVIOUS_PAGE_TEXT
-
NEXT_PAGE_TEXT
private static final ITextComponent NEXT_PAGE_TEXT
-
EMPTY_SLOT
public static final ISpectatorMenuObject EMPTY_SLOT
-
listener
private final ISpectatorMenuRecipient listener
-
category
private ISpectatorMenuView category
-
selectedSlot
private int selectedSlot
-
page
private int page
-
-
Constructor Detail
-
SpectatorMenu
public SpectatorMenu(ISpectatorMenuRecipient p_i45497_1_)
-
-
Method Detail
-
getItem
public ISpectatorMenuObject getItem(int p_178643_1_)
-
getItems
public java.util.List<ISpectatorMenuObject> getItems()
-
getSelectedItem
public ISpectatorMenuObject getSelectedItem()
-
getSelectedCategory
public ISpectatorMenuView getSelectedCategory()
-
selectSlot
public void selectSlot(int p_178644_1_)
-
exit
public void exit()
-
getSelectedSlot
public int getSelectedSlot()
-
selectCategory
public void selectCategory(ISpectatorMenuView p_178647_1_)
-
getCurrentPage
public SpectatorDetails getCurrentPage()
-
-