Class SpectatorGui

java.lang.Object
net.minecraft.client.gui.components.spectator.SpectatorGui
All Implemented Interfaces:
SpectatorMenuListener

public class SpectatorGui extends Object implements SpectatorMenuListener
  • Field Details

  • Constructor Details

    • SpectatorGui

      public SpectatorGui(Minecraft p_94767_)
  • Method Details

    • onHotbarSelected

      public void onHotbarSelected(int p_94772_)
    • getHotbarAlpha

      private float getHotbarAlpha()
    • renderHotbar

      public void renderHotbar(GuiGraphics p_281458_)
    • renderPage

      protected void renderPage(GuiGraphics p_282945_, float p_281688_, int p_281726_, int p_281730_, SpectatorPage p_282361_)
    • renderSlot

      private void renderSlot(GuiGraphics p_281411_, int p_283536_, int p_281853_, float p_282693_, float p_281955_, SpectatorMenuItem p_283370_)
    • renderTooltip

      public void renderTooltip(GuiGraphics p_283107_)
    • onSpectatorMenuClosed

      public void onSpectatorMenuClosed(SpectatorMenu p_94792_)
      Specified by:
      onSpectatorMenuClosed in interface SpectatorMenuListener
    • isMenuActive

      public boolean isMenuActive()
    • onMouseScrolled

      public void onMouseScrolled(int p_205381_)
    • onMouseMiddleClick

      public void onMouseMiddleClick()