Class RenderGuiLayerEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RenderGuiLayerEvent
Direct Known Subclasses:
RenderGuiLayerEvent.Post, RenderGuiLayerEvent.Pre

public abstract class RenderGuiLayerEvent extends net.neoforged.bus.api.Event
Fired when a GUI layer is rendered to the screen. See the two subclasses for listening to the two possible phases.

A layer that is not normally active (for example because the player pressed F1) cannot be forced to render. In such cases, this event will however still fire.

See Also: