net.minecraft.client.gui.components.spectator

public class SpectatorGui

implements SpectatorMenuListener

fqg
net.minecraft.client.gui.components.spectator.SpectatorGui
net.minecraft.class_365
net.minecraft.client.gui.hud.SpectatorHud

Field summary

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

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)
private float
c()
getHotbarAlpha()
method_1981()
getSpectatorMenuHeight()
public void
a(fns arg0)
renderHotbar(GuiGraphics arg0)
method_1978(class_332 arg0)
renderSpectatorMenu(DrawContext context)
protected void
a(fns arg0, float arg1, int arg2, int arg3, fzt 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)
private void
a(fns arg0, int arg1, int arg2, float arg3, float arg4, fzr 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 arg0, int slot, int x, float y, float height, SpectatorMenuCommand arg5)
public void
b(fns arg0)
renderTooltip(GuiGraphics arg0)
method_1979(class_332 arg0)
render(DrawContext context)
public void
a(fzp arg0)
onSpectatorMenuClosed(SpectatorMenu arg0)
method_2782(class_531 arg0)
close(SpectatorMenu arg0)
public boolean
a()
isMenuActive()
method_1980()
isOpen()
public void
b(int arg0)
onMouseScrolled(int arg0)
method_1976(int arg0)
cycleSlot(int offset)
public void
b()
onMouseMiddleClick()
method_1983()
useSelectedCommand()