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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired before a boss health bar is rendered to the screen.static class
Fired before the chat messages overlay is rendered to the screen.static class
Fired before textual information is rendered to the debug screen. -
Field Summary
Modifier and TypeFieldDescriptionprivate final GuiGraphics
private final float
private final Window
-
Constructor Summary
ModifierConstructorDescriptionprotected
CustomizeGuiOverlayEvent
(Window window, GuiGraphics guiGraphics, float partialTick) -
Method Summary
Modifier and TypeMethodDescriptionfloat
-
Field Details
-
window
-
guiGraphics
-
partialTick
private final float partialTick
-
-
Constructor Details
-
CustomizeGuiOverlayEvent
@Internal protected CustomizeGuiOverlayEvent(Window window, GuiGraphics guiGraphics, float partialTick)
-
-
Method Details
-
getWindow
-
getGuiGraphics
-
getPartialTick
public float getPartialTick()
-