Package net.minecraftforge.client.event
Class CustomizeGuiOverlayEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.CustomizeGuiOverlayEvent
- Direct Known Subclasses:
CustomizeGuiOverlayEvent.BossEventProgress
,CustomizeGuiOverlayEvent.Chat
,CustomizeGuiOverlayEvent.DebugText
public abstract class CustomizeGuiOverlayEvent
extends net.minecraftforge.eventbus.api.Event
Fired when an overlay is about to be rendered to the screen to allow the user to modify it.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired before a boss health bar is rendered to the screen.static class
Fired before the chat messages overlay is rendered to the screen.static class
Fired before textual information is rendered to the debug screen.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
Modifier and TypeFieldDescriptionprivate final GuiGraphics
private final float
private final Window
-
Constructor Summary
ModifierConstructorDescriptionprotected
CustomizeGuiOverlayEvent
(Window window, GuiGraphics guiGraphics, float partialTick) -
Method Summary
Modifier and TypeMethodDescriptionfloat
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
window
-
guiGraphics
-
partialTick
private final float partialTick
-
-
Constructor Details
-
CustomizeGuiOverlayEvent
@Internal protected CustomizeGuiOverlayEvent(Window window, GuiGraphics guiGraphics, float partialTick)
-
-
Method Details
-
getWindow
-
getGuiGraphics
-
getPartialTick
public float getPartialTick()
-