Class CustomizeGuiOverlayEvent.DebugText
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent
net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.DebugText
- Enclosing class:
CustomizeGuiOverlayEvent
Fired before textual information is rendered to the debug screen.
This can be used to add or remove text information.
This event is not cancellable, and does not
.invalid reference
have a result
This event is fired on the main Forge event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent
CustomizeGuiOverlayEvent.BossEventProgress, CustomizeGuiOverlayEvent.Chat, CustomizeGuiOverlayEvent.DebugText
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDebugText
(Window window, GuiGraphics guiGraphics, DeltaTracker partialTick, List<String> left, List<String> right) -
Method Summary
Methods inherited from class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent
getGuiGraphics, getPartialTick, getWindow
-
Field Details
-
left
-
right
-
-
Constructor Details
-
DebugText
@Internal public DebugText(Window window, GuiGraphics guiGraphics, DeltaTracker partialTick, List<String> left, List<String> right)
-
-
Method Details
-
getLeft
- Returns:
- the modifiable list of text to render on the left side
-
getRight
- Returns:
- the modifiable list of text to render on the right side
-