Class RenderGuiEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderGuiEvent
Direct Known Subclasses:
RenderGuiEvent.Post, RenderGuiEvent.Pre

public abstract class RenderGuiEvent extends net.minecraftforge.eventbus.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

    • window

      private final Window window
    • guiGraphics

      private final GuiGraphics guiGraphics
    • partialTick

      private final float partialTick
  • Constructor Details

    • RenderGuiEvent

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

    • getWindow

      public Window getWindow()
    • getGuiGraphics

      public GuiGraphics getGuiGraphics()
    • getPartialTick

      public float getPartialTick()