Class CustomizeGuiOverlayEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent
Direct Known Subclasses:
CustomizeGuiOverlayEvent.BossEventProgress, CustomizeGuiOverlayEvent.Chat, CustomizeGuiOverlayEvent.DebugText

public abstract class CustomizeGuiOverlayEvent extends net.neoforged.bus.api.Event
Fired when an overlay is about to be rendered to the screen to allow the user to modify it.
See Also:
  • Field Details

    • window

      private final Window window
    • guiGraphics

      private final GuiGraphics guiGraphics
    • partialTick

      private final float partialTick
  • Constructor Details

    • CustomizeGuiOverlayEvent

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

    • getWindow

      public Window getWindow()
    • getGuiGraphics

      public GuiGraphics getGuiGraphics()
    • getPartialTick

      public float getPartialTick()