Class RenderPlayerEvent.Pre

All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
RenderPlayerEvent

public static class RenderPlayerEvent.Pre extends RenderPlayerEvent implements net.neoforged.bus.api.ICancellableEvent
Fired before the player is rendered. This can be used for rendering additional effects or suppressing rendering.

This event is cancellable, and does not

invalid reference
have a result
. If this event is cancelled, then the player will not be rendered and the corresponding RenderPlayerEvent.Post will not be fired.

This event is fired on the main Forge event bus, only on the logical client.