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 final LivingEntity
private final MultiBufferSource
private final int
private final float
private final PoseStack
private final LivingEntityRenderer<T,
M> -
Constructor Summary
ConstructorDescriptionRenderLivingEvent
(LivingEntity entity, LivingEntityRenderer<T, M> renderer, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight) -
Method Summary
Modifier and TypeMethodDescriptionint
float
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
entity
-
renderer
-
partialTick
private final float partialTick -
poseStack
-
multiBufferSource
-
packedLight
private final int packedLight
-
-
Constructor Details
-
RenderLivingEvent
public RenderLivingEvent(LivingEntity entity, LivingEntityRenderer<T, M> renderer, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight)
-
-
Method Details
-
getEntity
-
getRenderer
-
getPartialTick
public float getPartialTick() -
getPoseStack
-
getMultiBufferSource
-
getPackedLight
public int getPackedLight()
-