Class RenderGuiEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RenderGuiEvent
- Direct Known Subclasses:
RenderGuiEvent.Post
,RenderGuiEvent.Pre
public abstract class RenderGuiEvent
extends net.neoforged.bus.api.Event
Fired when the HUD is rendered to the screen.
See the two subclasses for listening to the two possible phases.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired after the HUD is rendered to the screen, if the correspondingRenderGuiEvent.Pre
is not cancelled.static class
Fired before the HUD is rendered to the screen. -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
RenderGuiEvent
(GuiGraphics guiGraphics, float partialTick) -
Method Summary
-
Field Details
-
guiGraphics
-
partialTick
private final float partialTick
-
-
Constructor Details
-
RenderGuiEvent
-
-
Method Details
-
getGuiGraphics
-
getPartialTick
public float getPartialTick()
-