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
Nested ClassesModifier 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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RenderGuiEvent
(GuiGraphics guiGraphics, DeltaTracker partialTick) -
Method Summary
-
Field Details
-
guiGraphics
-
partialTick
-
-
Constructor Details
-
RenderGuiEvent
-
-
Method Details
-
getGuiGraphics
-
getPartialTick
-