net.minecraft.client.gui.spectator

public class SpectatorMenu

fdn
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
static final ResourceLocation
b
CLOSE_SPRITE
field_45579
CLOSE_TEXTURE
f_290308_
static final ResourceLocation
c
SCROLL_LEFT_SPRITE
field_45580
SCROLL_LEFT_TEXTURE
f_291392_
static final ResourceLocation
d
SCROLL_RIGHT_SPRITE
field_45581
SCROLL_RIGHT_TEXTURE
f_290642_
private static final SpectatorMenuItem
e
CLOSE_ITEM
field_3261
CLOSE_COMMAND
f_101772_
private static final SpectatorMenuItem
f
SCROLL_LEFT
field_3262
PREVIOUS_PAGE_COMMAND
f_101773_
private static final SpectatorMenuItem
g
SCROLL_RIGHT_ENABLED
field_3256
NEXT_PAGE_COMMAND
f_101774_
private static final SpectatorMenuItem
h
SCROLL_RIGHT_DISABLED
field_3259
DISABLED_NEXT_PAGE_COMMAND
f_101775_
private static final int
i
MAX_PER_PAGE
field_32443
CLOSE_SLOT
f_170328_
static final Component
j
CLOSE_MENU_TEXT
field_26613
CLOSE_TEXT
f_101776_
static final Component
k
PREVIOUS_PAGE_TEXT
field_26614
PREVIOUS_PAGE_TEXT
f_101777_
static final Component
l
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
m
listener
field_3255
closeCallback
f_101779_
private SpectatorMenuCategory
n
category
field_3258
currentGroup
f_101780_
private int
o
selectedSlot
field_3254
selectedSlot
f_101781_
int
p
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(fdo 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_()