net.minecraft.client.gui.components.spectator

public class SpectatorGui

implements SpectatorMenuListener

eun
net.minecraft.client.gui.components.spectator.SpectatorGui
net.minecraft.class_365
net.minecraft.client.gui.hud.SpectatorHud
net.minecraft.src.C_3496_

Field summary

Modifier and TypeField
private static final ResourceLocation
a
HOTBAR_SPRITE
field_45392
HOTBAR_TEXTURE
f_291130_
private static final ResourceLocation
b
HOTBAR_SELECTION_SPRITE
field_45393
HOTBAR_SELECTION_TEXTURE
f_290404_
private static final long
c
FADE_OUT_DELAY
field_32215
FADE_OUT_DELAY
f_169074_
private static final long
d
FADE_OUT_TIME
field_32216
FADE_OUT_DURATION
f_169075_
private final Minecraft
e
minecraft
field_2201
client
f_94762_
private long
f
lastSelectionTime
field_2198
lastInteractionTime
f_94763_
private SpectatorMenu
g
menu
field_2200
spectatorMenu
f_94764_

Constructor summary

ModifierConstructor
public (Minecraft client)

Method summary

Modifier and TypeMethod
public void
a(int arg0)
onHotbarSelected(int arg0)
method_1977(int arg0)
selectSlot(int slot)
m_94771_(int arg0)
private float
c()
getHotbarAlpha()
method_1981()
getSpectatorMenuHeight()
m_94794_()
public void
a(esf arg0)
renderHotbar(GuiGraphics arg0)
method_1978(class_332 arg0)
renderSpectatorMenu(DrawContext context)
m_280623_(C_279497_ arg0)
protected void
a(esf arg0, float arg1, int arg2, int arg3, fdr arg4)
renderPage(GuiGraphics arg0, float arg1, int arg2, int arg3, SpectatorPage arg4)
method_1975(class_332 arg0, float arg1, int arg2, int arg3, class_539 arg4)
renderSpectatorMenu(DrawContext context, float height, int x, int y, SpectatorMenuState state)
m_280016_(C_279497_ p_281688_, float p_281726_, int p_281730_, int p_282361_, C_3783_ arg4)
private void
a(esf arg0, int arg1, int arg2, float arg3, float arg4, fdp arg5)
renderSlot(GuiGraphics arg0, int arg1, int arg2, float arg3, float arg4, SpectatorMenuItem arg5)
method_1982(class_332 arg0, int arg1, int arg2, float arg3, float arg4, class_537 arg5)
renderSpectatorCommand(DrawContext context, int slot, int x, float y, float height, SpectatorMenuCommand command)
m_280643_(C_279497_ p_283536_, int p_281853_, int p_282693_, float p_281955_, float p_283370_, C_3781_ arg5)
public void
b(esf arg0)
renderTooltip(GuiGraphics arg0)
method_1979(class_332 arg0)
render(DrawContext context)
m_280365_(C_279497_ arg0)
public void
a(fdn arg0)
onSpectatorMenuClosed(SpectatorMenu arg0)
method_2782(class_531 arg0)
close(SpectatorMenu arg0)
m_7613_(C_3776_ arg0)
public boolean
a()
isMenuActive()
method_1980()
isOpen()
m_94768_()
public void
b(int arg0)
onMouseScrolled(int arg0)
method_1976(int arg0)
cycleSlot(int offset)
m_205380_(int arg0)
public void
b()
onMouseMiddleClick()
method_1983()
useSelectedCommand()
m_94793_()