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 IRenderTypeBuffer
private final LivingEntity
private final int
private final MatrixStack
private final float
private final LivingRenderer<T,
M> -
Constructor Summary
ConstructorDescriptionRenderLivingEvent
(LivingEntity entity, LivingRenderer<T, M> renderer, float partialRenderTick, MatrixStack matrixStack, IRenderTypeBuffer 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, LivingRenderer<T, M> renderer, float partialRenderTick, MatrixStack matrixStack, IRenderTypeBuffer buffers, int light)
-
-
Method Details
-
getEntity
-
getRenderer
-
getPartialRenderTick
public float getPartialRenderTick() -
getMatrixStack
-
getBuffers
-
getLight
public int getLight()
-