类 CustomizeGuiOverlayEvent.DebugText
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.CustomizeGuiOverlayEvent
net.minecraftforge.client.event.CustomizeGuiOverlayEvent.DebugText
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.
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraftforge.client.event.CustomizeGuiOverlayEvent
CustomizeGuiOverlayEvent.BossEventProgress, CustomizeGuiOverlayEvent.Chat, CustomizeGuiOverlayEvent.DebugText
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器构造器说明DebugText
(Window window, GuiGraphics guiGraphics, float partialTick, List<String> text, CustomizeGuiOverlayEvent.DebugText.Side side) -
方法概要
从类继承的方法 net.minecraftforge.client.event.CustomizeGuiOverlayEvent
getGuiGraphics, getPartialTick, getWindow
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
text
-
side
-
-
构造器详细资料
-
DebugText
@Internal public DebugText(Window window, GuiGraphics guiGraphics, float partialTick, List<String> text, CustomizeGuiOverlayEvent.DebugText.Side side)
-
-
方法详细资料
-
getText
- 返回:
- the modifiable list of text to render on the side
-
getSide
- 返回:
- the side of the text getting rendered.
-