Class RenderGuiEvent.Pre
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RenderGuiEvent
net.neoforged.neoforge.client.event.RenderGuiEvent.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
- RenderGuiEvent
public static class RenderGuiEvent.Pre
extends RenderGuiEvent
implements net.neoforged.bus.api.ICancellableEvent
Fired before the HUD is rendered to the screen.
This event is cancellable, and does not have a result.
If this event is cancelled, then the overlay will not be rendered, and the corresponding RenderGuiEvent.Post
event will
not be fired.
This event is fired on the main Forge event bus, only on the logical client.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.client.event.RenderGuiEvent
RenderGuiEvent.Post, RenderGuiEvent.Pre
Nested classes/interfaces inherited from class net.neoforged.bus.api.Event
net.neoforged.bus.api.Event.HasResult, net.neoforged.bus.api.Event.Result
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.neoforged.neoforge.client.event.RenderGuiEvent
getGuiGraphics, getPartialTick, getWindow
Methods inherited from class net.neoforged.bus.api.Event
getResult, hasResult, setResult
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
Pre
-