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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFired before a boss health bar is rendered to the screen.static classFired before the chat messages overlay is rendered to the screen.static classFired before textual information is rendered to the debug screen.Nested classes/interfaces inherited from class net.neoforged.bus.api.Event
net.neoforged.bus.api.Event.HasResult, net.neoforged.bus.api.Event.Result -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GuiGraphicsprivate final floatprivate final Window -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCustomizeGuiOverlayEvent(Window window, GuiGraphics guiGraphics, float partialTick) -
Method Summary
Modifier and TypeMethodDescriptionfloatMethods inherited from class net.neoforged.bus.api.Event
getResult, hasResult, setResult
-
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()
-