Package net.minecraftforge.client.event
Class RenderLivingEvent<T extends LivingEntity,M extends EntityModel<T>>
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderLivingEvent<T,M>
- Direct Known Subclasses:
RenderLivingEvent.Post
,RenderLivingEvent.Pre
public abstract class RenderLivingEvent<T extends LivingEntity,M extends EntityModel<T>>
extends net.minecraftforge.eventbus.api.Event
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
RenderLivingEvent.Post<T extends LivingEntity,M extends EntityModel<T>>
static class
RenderLivingEvent.Pre<T extends LivingEntity,M extends EntityModel<T>>
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Modifier and TypeFieldDescriptionprivate MultiBufferSource
private LivingEntity
private int
private PoseStack
private float
private LivingEntityRenderer<T,M>
-
Constructor Summary
ConstructorDescriptionRenderLivingEvent(LivingEntity entity, LivingEntityRenderer<T,M> renderer, float partialRenderTick, PoseStack matrixStack, MultiBufferSource buffers, int light)
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
entity
-
renderer
-
partialRenderTick
private final float partialRenderTick -
matrixStack
-
buffers
-
light
private final int light
-
-
Constructor Details
-
RenderLivingEvent
public RenderLivingEvent(LivingEntity entity, LivingEntityRenderer<T,M> renderer, float partialRenderTick, PoseStack matrixStack, MultiBufferSource buffers, int light)
-
-
Method Details
-
getEntity
-
getRenderer
-
getPartialRenderTick
public float getPartialRenderTick() -
getMatrixStack
-
getBuffers
-
getLight
public int getLight()
-