Package net.minecraftforge.client.event
Class CustomizeGuiOverlayEvent.DebugText
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.CustomizeGuiOverlayEvent
net.minecraftforge.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 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.minecraftforge.client.event.CustomizeGuiOverlayEvent
CustomizeGuiOverlayEvent.BossEventProgress, CustomizeGuiOverlayEvent.Chat, CustomizeGuiOverlayEvent.DebugText
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDebugText
(Window window, GuiGraphics guiGraphics, float partialTick, List<String> text, CustomizeGuiOverlayEvent.DebugText.Side side) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.CustomizeGuiOverlayEvent
getGuiGraphics, getPartialTick, getWindow
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
text
-
side
-
-
Constructor Details
-
DebugText
@Internal public DebugText(Window window, GuiGraphics guiGraphics, float partialTick, List<String> text, CustomizeGuiOverlayEvent.DebugText.Side side)
-
-
Method Details
-
getText
- Returns:
- the modifiable list of text to render on the side
-
getLeft
Deprecated, for removal: This API element is subject to removal in a future version. -
getRight
Deprecated, for removal: This API element is subject to removal in a future version. -
getSide
- Returns:
- the side of the text getting rendered.
-