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 net.neoforged.neoforge.client.event.RenderGuiLayerEvent
RenderGuiLayerEvent.Post, RenderGuiLayerEvent.Pre
-
Constructor Summary
ConstructorDescriptionPre
(GuiGraphics guiGraphics, DeltaTracker partialTick, ResourceLocation name, LayeredDraw.Layer layer) -
Method Summary
Methods inherited from class net.neoforged.neoforge.client.event.RenderGuiLayerEvent
getGuiGraphics, getLayer, getName, getPartialTick
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
@Internal public Pre(GuiGraphics guiGraphics, DeltaTracker partialTick, ResourceLocation name, LayeredDraw.Layer layer)
-