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
Nested Classes Modifier and Type Class Description static class
RenderLivingEvent.Post<T extends LivingEntity,M extends EntityModel<T>>
static class
RenderLivingEvent.Pre<T extends LivingEntity,M extends EntityModel<T>>
-
Field Summary
Fields Modifier and Type Field Description private IRenderTypeBuffer
buffers
private LivingEntity
entity
private int
light
private MatrixStack
matrixStack
private float
partialRenderTick
private LivingRenderer<T,M>
renderer
-
Constructor Summary
Constructors Constructor Description RenderLivingEvent(LivingEntity entity, LivingRenderer<T,M> renderer, float partialRenderTick, MatrixStack matrixStack, IRenderTypeBuffer buffers, int light)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRenderTypeBuffer
getBuffers()
LivingEntity
getEntity()
int
getLight()
MatrixStack
getMatrixStack()
float
getPartialRenderTick()
LivingRenderer<T,M>
getRenderer()
-
-
-
Field Detail
-
entity
private final LivingEntity entity
-
renderer
private final LivingRenderer<T extends LivingEntity,M extends EntityModel<T>> renderer
-
partialRenderTick
private final float partialRenderTick
-
matrixStack
private final MatrixStack matrixStack
-
buffers
private final IRenderTypeBuffer buffers
-
light
private final int light
-
-
Constructor Detail
-
RenderLivingEvent
public RenderLivingEvent(LivingEntity entity, LivingRenderer<T,M> renderer, float partialRenderTick, MatrixStack matrixStack, IRenderTypeBuffer buffers, int light)
-
-
Method Detail
-
getEntity
public LivingEntity getEntity()
-
getRenderer
public LivingRenderer<T,M> getRenderer()
-
getPartialRenderTick
public float getPartialRenderTick()
-
getMatrixStack
public MatrixStack getMatrixStack()
-
getBuffers
public IRenderTypeBuffer getBuffers()
-
getLight
public int getLight()
-
-