net.minecraft.client.gui.spectator

public class SpectatorMenu

egs
net.minecraft.client.gui.spectator.SpectatorMenu
net.minecraft.class_531
net.minecraft.client.gui.hud.spectator.SpectatorMenu
net.minecraft.src.C_3776_

Field summary

Modifier and TypeField
private static final SpectatorMenuItem
b
CLOSE_ITEM
field_3261
CLOSE_COMMAND
f_101772_
private static final SpectatorMenuItem
c
SCROLL_LEFT
field_3262
PREVIOUS_PAGE_COMMAND
f_101773_
private static final SpectatorMenuItem
d
SCROLL_RIGHT_ENABLED
field_3256
NEXT_PAGE_COMMAND
f_101774_
private static final SpectatorMenuItem
e
SCROLL_RIGHT_DISABLED
field_3259
DISABLED_NEXT_PAGE_COMMAND
f_101775_
private static final int
f
MAX_PER_PAGE
field_32443
field_32443
f_170328_
static final Component
g
CLOSE_MENU_TEXT
field_26613
CLOSE_TEXT
f_101776_
static final Component
h
PREVIOUS_PAGE_TEXT
field_26614
PREVIOUS_PAGE_TEXT
f_101777_
static final Component
i
NEXT_PAGE_TEXT
field_26615
NEXT_PAGE_TEXT
f_101778_
public static final SpectatorMenuItem
a
EMPTY_SLOT
field_3260
BLANK_COMMAND
f_101771_
private final SpectatorMenuListener
j
listener
field_3255
closeCallback
f_101779_
private SpectatorMenuCategory
k
category
field_3258
currentGroup
f_101780_
private int
l
selectedSlot
field_3254
selectedSlot
f_101781_
int
m
page
field_3263
page
f_101782_

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)
m_101787_(int arg0)
public List<SpectatorMenuItem>
a()
getItems()
method_2770()
getCommands()
m_101786_()
public SpectatorMenuItem
b()
getSelectedItem()
method_2774()
getSelectedCommand()
m_101796_()
public SpectatorMenuCategory
c()
getSelectedCategory()
method_2776()
getCurrentGroup()
m_101799_()
public void
b(int arg0)
selectSlot(int arg0)
method_2771(int arg0)
useCommand(int slot)
m_101797_(int arg0)
public void
d()
exit()
method_2779()
close()
m_101800_()
public int
e()
getSelectedSlot()
method_2773()
getSelectedSlot()
m_101801_()
public void
a(egt arg0)
selectCategory(SpectatorMenuCategory arg0)
method_2778(class_535 arg0)
selectElement(SpectatorMenuCommandGroup group)
m_101794_(C_3780_ arg0)
public SpectatorPage
f()
getCurrentPage()
method_2772()
getCurrentState()
m_101802_()