类 CustomizeGuiOverlayEvent.Chat
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.CustomizeGuiOverlayEvent
net.minecraftforge.client.event.CustomizeGuiOverlayEvent.Chat
Fired before the chat messages overlay is rendered to the screen.
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
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.client.event.CustomizeGuiOverlayEvent
getGuiGraphics, getPartialTick, getWindow
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
posX
private int posX -
posY
private int posY
-
-
构造器详细资料
-
Chat
@Internal public Chat(Window window, GuiGraphics guiGraphics, float partialTick, int posX, int posY)
-
-
方法详细资料
-
getPosX
public int getPosX()- 返回:
- the X position of the chat messages overlay
-
setPosX
public void setPosX(int posX) Sets the new X position for rendering the chat messages overlay- 参数:
posX
- the new X position
-
getPosY
public int getPosY()- 返回:
- the Y position of the chat messages overlay
-
setPosY
public void setPosY(int posY) Sets the new Y position for rendering the chat messages overlay- 参数:
posY
- the new y position
-