net.minecraft.client.gui.spectator

public class SpectatorMenu

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

Field summary

Modifier and TypeField
static final ResourceLocation
b
CLOSE_SPRITE
field_45579
CLOSE_TEXTURE
static final ResourceLocation
c
SCROLL_LEFT_SPRITE
field_45580
SCROLL_LEFT_TEXTURE
static final ResourceLocation
d
SCROLL_RIGHT_SPRITE
field_45581
SCROLL_RIGHT_TEXTURE
private static final SpectatorMenuItem
e
CLOSE_ITEM
field_3261
CLOSE_COMMAND
private static final SpectatorMenuItem
f
SCROLL_LEFT
field_3262
PREVIOUS_PAGE_COMMAND
private static final SpectatorMenuItem
g
SCROLL_RIGHT_ENABLED
field_3256
NEXT_PAGE_COMMAND
private static final SpectatorMenuItem
h
SCROLL_RIGHT_DISABLED
field_3259
DISABLED_NEXT_PAGE_COMMAND
private static final int
i
MAX_PER_PAGE
field_32443
CLOSE_SLOT
static final Component
j
CLOSE_MENU_TEXT
field_26613
CLOSE_TEXT
static final Component
k
PREVIOUS_PAGE_TEXT
field_26614
PREVIOUS_PAGE_TEXT
static final Component
l
NEXT_PAGE_TEXT
field_26615
NEXT_PAGE_TEXT
public static final SpectatorMenuItem
a
EMPTY_SLOT
field_3260
BLANK_COMMAND
private final SpectatorMenuListener
m
listener
field_3255
closeCallback
private SpectatorMenuCategory
n
category
field_3258
currentGroup
private int
o
selectedSlot
field_3254
selectedSlot
int
p
page
field_3263
page

Constructor summary

ModifierConstructor
public (SpectatorMenuListener closeCallback)

Method summary

Modifier and TypeMethod
public SpectatorMenuItem
a(int arg0)
getItem(int arg0)
method_2777(int arg0)
getCommand(int slot)
public List<SpectatorMenuItem>
a()
getItems()
method_2770()
getCommands()
public SpectatorMenuItem
b()
getSelectedItem()
method_2774()
getSelectedCommand()
public SpectatorMenuCategory
c()
getSelectedCategory()
method_2776()
getCurrentGroup()
public void
b(int arg0)
selectSlot(int arg0)
method_2771(int arg0)
useCommand(int slot)
public void
d()
exit()
method_2779()
close()
public int
e()
getSelectedSlot()
method_2773()
getSelectedSlot()
public void
a(fzq arg0)
selectCategory(SpectatorMenuCategory arg0)
method_2778(class_535 arg0)
selectElement(SpectatorMenuCommandGroup group)
public SpectatorPage
f()
getCurrentPage()
method_2772()
getCurrentState()