Class RenderGuiEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RenderGuiEvent
Direct Known Subclasses:
RenderGuiEvent.Post, RenderGuiEvent.Pre

public abstract class RenderGuiEvent extends net.neoforged.bus.api.Event
Fired when the HUD is rendered to the screen. See the two subclasses for listening to the two possible phases.
See Also:
  • Field Details

    • guiGraphics

      private final GuiGraphics guiGraphics
    • partialTick

      private final float partialTick
  • Constructor Details

    • RenderGuiEvent

      @Internal protected RenderGuiEvent(GuiGraphics guiGraphics, float partialTick)
  • Method Details

    • getGuiGraphics

      public GuiGraphics getGuiGraphics()
    • getPartialTick

      public float getPartialTick()