Class RenderLivingEvent.Pre<T extends LivingEntity,S extends LivingEntityRenderState,M extends EntityModel<? super S>>

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.RenderLivingEvent<T,S,M>
net.neoforged.neoforge.client.event.RenderLivingEvent.Pre<T,S,M>
Type Parameters:
T - the living entity that is being rendered
M - the model for the living entity
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
RenderLivingEvent<T extends LivingEntity,S extends LivingEntityRenderState,M extends EntityModel<? super S>>

public static class RenderLivingEvent.Pre<T extends LivingEntity,S extends LivingEntityRenderState,M extends EntityModel<? super S>> extends RenderLivingEvent<T,S,M> implements net.neoforged.bus.api.ICancellableEvent
Fired before an entity is rendered. This can be used to render additional effects or suppress rendering.

This event is cancelable. If this event is cancelled, then the entity will not be rendered and the corresponding RenderLivingEvent.Post will not be fired.

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