public abstract class RenderPlayerEvent extends PlayerEvent
Modifier and Type | Class and Description |
---|---|
static class |
RenderPlayerEvent.Post |
static class |
RenderPlayerEvent.Pre |
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.ItemCraftedEvent, PlayerEvent.ItemPickupEvent, PlayerEvent.ItemSmeltedEvent, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.PlayerChangedDimensionEvent, PlayerEvent.PlayerLoggedInEvent, PlayerEvent.PlayerLoggedOutEvent, PlayerEvent.PlayerRespawnEvent, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.Visibility
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight
Modifier and Type | Field and Description |
---|---|
private IRenderTypeBuffer |
buffers |
private int |
light |
private float |
partialRenderTick |
private PlayerRenderer |
renderer |
private MatrixStack |
stack |
Constructor and Description |
---|
RenderPlayerEvent(PlayerEntity player,
PlayerRenderer renderer,
float partialRenderTick,
MatrixStack stack,
IRenderTypeBuffer buffers,
int light) |
Modifier and Type | Method and Description |
---|---|
IRenderTypeBuffer |
getBuffers() |
int |
getLight() |
MatrixStack |
getMatrixStack() |
float |
getPartialRenderTick() |
PlayerRenderer |
getRenderer() |
getPlayer
getEntityLiving
getEntity
private final PlayerRenderer renderer
private final float partialRenderTick
private final MatrixStack stack
private final IRenderTypeBuffer buffers
private final int light
public RenderPlayerEvent(PlayerEntity player, PlayerRenderer renderer, float partialRenderTick, MatrixStack stack, IRenderTypeBuffer buffers, int light)
public PlayerRenderer getRenderer()
public float getPartialRenderTick()
public MatrixStack getMatrixStack()
public IRenderTypeBuffer getBuffers()
public int getLight()