public abstract class RenderLivingEvent<T extends LivingEntity,M extends EntityModel<T>>
extends net.minecraftforge.eventbus.api.Event
Modifier and Type | Class and Description |
---|---|
static class |
RenderLivingEvent.Post<T extends LivingEntity,M extends EntityModel<T>> |
static class |
RenderLivingEvent.Pre<T extends LivingEntity,M extends EntityModel<T>> |
Modifier and Type | Field and Description |
---|---|
private IRenderTypeBuffer |
buffers |
private LivingEntity |
entity |
private int |
light |
private MatrixStack |
matrixStack |
private float |
partialRenderTick |
private LivingRenderer<T,M> |
renderer |
Constructor and Description |
---|
RenderLivingEvent(LivingEntity entity,
LivingRenderer<T,M> renderer,
float partialRenderTick,
MatrixStack matrixStack,
IRenderTypeBuffer buffers,
int light) |
Modifier and Type | Method and Description |
---|---|
IRenderTypeBuffer |
getBuffers() |
LivingEntity |
getEntity() |
int |
getLight() |
MatrixStack |
getMatrixStack() |
float |
getPartialRenderTick() |
LivingRenderer<T,M> |
getRenderer() |
private final LivingEntity entity
private final LivingRenderer<T extends LivingEntity,M extends EntityModel<T>> renderer
private final float partialRenderTick
private final MatrixStack matrixStack
private final IRenderTypeBuffer buffers
private final int light
public RenderLivingEvent(LivingEntity entity, LivingRenderer<T,M> renderer, float partialRenderTick, MatrixStack matrixStack, IRenderTypeBuffer buffers, int light)
public LivingEntity getEntity()
public LivingRenderer<T,M> getRenderer()
public float getPartialRenderTick()
public MatrixStack getMatrixStack()
public IRenderTypeBuffer getBuffers()
public int getLight()