public class GuiSpectator extends Gui implements ISpectatorMenuRecipient
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
SPECTATOR_WIDGETS |
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiSpectator(Minecraft mcIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
isMenuActive() |
void |
onHotbarSelected(int p_175260_1_) |
void |
onMiddleClick() |
void |
onMouseScroll(int p_175259_1_) |
void |
onSpectatorMenuClosed(SpectatorMenu menu) |
protected void |
renderPage(ScaledResolution p_175258_1_,
float p_175258_2_,
int p_175258_3_,
float p_175258_4_,
SpectatorDetails p_175258_5_) |
void |
renderSelectedItem(ScaledResolution p_175263_1_) |
void |
renderTooltip(ScaledResolution p_175264_1_,
float p_175264_2_) |
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public static final ResourceLocation SPECTATOR_WIDGETS
public GuiSpectator(Minecraft mcIn)
public void onHotbarSelected(int p_175260_1_)
public void renderTooltip(ScaledResolution p_175264_1_, float p_175264_2_)
protected void renderPage(ScaledResolution p_175258_1_, float p_175258_2_, int p_175258_3_, float p_175258_4_, SpectatorDetails p_175258_5_)
public void renderSelectedItem(ScaledResolution p_175263_1_)
public void onSpectatorMenuClosed(SpectatorMenu menu)
onSpectatorMenuClosed
in interface ISpectatorMenuRecipient
public boolean isMenuActive()
public void onMouseScroll(int p_175259_1_)
public void onMiddleClick()