Class RenderGuiLayerEvent.Pre
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RenderGuiLayerEvent
net.neoforged.neoforge.client.event.RenderGuiLayerEvent.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
RenderGuiLayerEvent
public static class RenderGuiLayerEvent.Pre
extends RenderGuiLayerEvent
implements net.neoforged.bus.api.ICancellableEvent
Fired before a GUI layer is rendered to the screen.
This event is cancellable, and does not
.
If this event is cancelled, then the layer will not be rendered, and the corresponding invalid reference
have a result
RenderGuiLayerEvent.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 RenderGuiLayerEvent
RenderGuiLayerEvent.Post, RenderGuiLayerEvent.Pre -
Constructor Summary
ConstructorsConstructorDescriptionPre(GuiGraphics guiGraphics, DeltaTracker partialTick, Identifier name, GuiLayer layer) -
Method Summary
Methods inherited from class RenderGuiLayerEvent
getGuiGraphics, getLayer, getName, getPartialTickMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
Pre
@Internal public Pre(GuiGraphics guiGraphics, DeltaTracker partialTick, Identifier name, GuiLayer layer)
-