Class CustomizeGuiOverlayEvent.Chat
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent
net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.Chat
- Enclosing class:
- CustomizeGuiOverlayEvent
Fired before the chat messages overlay is rendered to the screen.
 
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 SummaryNested classes/interfaces inherited from class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEventCustomizeGuiOverlayEvent.BossEventProgress, CustomizeGuiOverlayEvent.Chat, CustomizeGuiOverlayEvent.DebugText
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionChat(Window window, GuiGraphics guiGraphics, float partialTick, int posX, int posY) 
- 
Method SummaryMethods inherited from class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEventgetGuiGraphics, getPartialTick, getWindow
- 
Field Details- 
posXprivate int posX
- 
posYprivate int posY
 
- 
- 
Constructor Details- 
Chat@Internal public Chat(Window window, GuiGraphics guiGraphics, float partialTick, int posX, int posY) 
 
- 
- 
Method Details- 
getPosXpublic int getPosX()- Returns:
- the X position of the chat messages overlay
 
- 
setPosXpublic void setPosX(int posX) Sets the new X position for rendering the chat messages overlay- Parameters:
- posX- the new X position
 
- 
getPosYpublic int getPosY()- Returns:
- the Y position of the chat messages overlay
 
- 
setPosYpublic void setPosY(int posY) Sets the new Y position for rendering the chat messages overlay- Parameters:
- posY- the new y position
 
 
-