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 com.mojang.blaze3d.platform.Window window
    • guiGraphics

      private final net.minecraft.client.gui.GuiGraphics guiGraphics
    • partialTick

      private final net.minecraft.client.DeltaTracker partialTick
  • Constructor Details

    • CustomizeGuiOverlayEvent

      @Internal protected CustomizeGuiOverlayEvent(com.mojang.blaze3d.platform.Window window, net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.DeltaTracker partialTick)
  • Method Details

    • getWindow

      public com.mojang.blaze3d.platform.Window getWindow()
    • getGuiGraphics

      public net.minecraft.client.gui.GuiGraphics getGuiGraphics()
    • getPartialTick

      public net.minecraft.client.DeltaTracker getPartialTick()