net.minecraft.client.gui.hud.spectator

public class SpectatorMenu

net.minecraft.client.gui.spectator.SpectatorMenu
net.minecraft.class_531
net.minecraft.client.gui.hud.spectator.SpectatorMenu

Field summary

Modifier and TypeField
private static final Identifier
CLOSE_SPRITE
field_45579
CLOSE_TEXTURE
private static final Identifier
SCROLL_LEFT_SPRITE
field_45580
SCROLL_LEFT_TEXTURE
private static final Identifier
SCROLL_RIGHT_SPRITE
field_45581
SCROLL_RIGHT_TEXTURE
private static final SpectatorMenuCommand
CLOSE_ITEM
field_3261
CLOSE_COMMAND
private static final SpectatorMenuCommand
SCROLL_LEFT
field_3262
PREVIOUS_PAGE_COMMAND
private static final SpectatorMenuCommand
SCROLL_RIGHT_ENABLED
field_3256
NEXT_PAGE_COMMAND
private static final SpectatorMenuCommand
SCROLL_RIGHT_DISABLED
field_3259
DISABLED_NEXT_PAGE_COMMAND
private static final int
MAX_PER_PAGE
field_32443
CLOSE_SLOT
private static final Text
CLOSE_MENU_TEXT
field_26613
CLOSE_TEXT
private static final Text
PREVIOUS_PAGE_TEXT
field_26614
PREVIOUS_PAGE_TEXT
private static final Text
NEXT_PAGE_TEXT
field_26615
NEXT_PAGE_TEXT
public static final SpectatorMenuCommand
EMPTY_SLOT
field_3260
BLANK_COMMAND
private final SpectatorMenuCloseCallback
listener
field_3255
closeCallback
private SpectatorMenuCommandGroup
category
field_3258
currentGroup
private int
selectedSlot
field_3254
selectedSlot
private int
page
field_3263
page

Constructor summary

ModifierConstructor
public (SpectatorMenuCloseCallback closeCallback)

Method summary

Modifier and TypeMethod
public SpectatorMenuCommand
getItem(int slot)
method_2777(int arg0)
getCommand(int slot)
public List<SpectatorMenuCommand>
getItems()
method_2770()
getCommands()
public SpectatorMenuCommand
getSelectedItem()
method_2774()
getSelectedCommand()
public SpectatorMenuCommandGroup
getSelectedCategory()
method_2776()
getCurrentGroup()
public void
selectSlot(int slot)
method_2771(int arg0)
useCommand(int slot)
public void
exit()
method_2779()
close()
public int
getSelectedSlot()
method_2773()
getSelectedSlot()
public void
selectCategory(SpectatorMenuCategory category)
method_2778(class_535 arg0)
selectElement(SpectatorMenuCommandGroup group)
public SpectatorMenuState
getCurrentPage()
method_2772()
getCurrentState()