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
-
Constructor Summary
ModifierConstructorDescriptionprotected
CustomizeGuiOverlayEvent
(Window window, PoseStack poseStack, 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
-
poseStack
-
partialTick
private final float partialTick
-
-
Constructor Details
-
CustomizeGuiOverlayEvent
-
-
Method Details
-
getWindow
-
getPoseStack
-
getPartialTick
public float getPartialTick()
-