Package net.minecraftforge.client.event
Class RenderPlayerEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.entity.EntityEvent
-
- net.minecraftforge.event.entity.living.LivingEvent
-
- net.minecraftforge.event.entity.player.PlayerEvent
-
- net.minecraftforge.client.event.RenderPlayerEvent
-
- Direct Known Subclasses:
RenderPlayerEvent.Post
,RenderPlayerEvent.Pre
public abstract class RenderPlayerEvent extends PlayerEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RenderPlayerEvent.Post
static class
RenderPlayerEvent.Pre
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.player.PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.ItemCraftedEvent, PlayerEvent.ItemPickupEvent, PlayerEvent.ItemSmeltedEvent, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.PlayerChangedDimensionEvent, PlayerEvent.PlayerChangeGameModeEvent, PlayerEvent.PlayerLoggedInEvent, PlayerEvent.PlayerLoggedOutEvent, PlayerEvent.PlayerRespawnEvent, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.TabListNameFormat, PlayerEvent.Visibility
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent, LivingEvent.LivingVisibilityEvent
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.Size
-
-
Field Summary
Fields Modifier and Type Field Description private IRenderTypeBuffer
buffers
private int
light
private float
partialRenderTick
private PlayerRenderer
renderer
private MatrixStack
stack
-
Constructor Summary
Constructors Constructor Description RenderPlayerEvent(PlayerEntity player, PlayerRenderer renderer, float partialRenderTick, MatrixStack stack, IRenderTypeBuffer buffers, int light)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRenderTypeBuffer
getBuffers()
int
getLight()
MatrixStack
getMatrixStack()
float
getPartialRenderTick()
PlayerRenderer
getRenderer()
-
Methods inherited from class net.minecraftforge.event.entity.player.PlayerEvent
getPlayer
-
Methods inherited from class net.minecraftforge.event.entity.living.LivingEvent
getEntityLiving
-
Methods inherited from class net.minecraftforge.event.entity.EntityEvent
getEntity
-
-
-
-
Field Detail
-
renderer
private final PlayerRenderer renderer
-
partialRenderTick
private final float partialRenderTick
-
stack
private final MatrixStack stack
-
buffers
private final IRenderTypeBuffer buffers
-
light
private final int light
-
-
Constructor Detail
-
RenderPlayerEvent
public RenderPlayerEvent(PlayerEntity player, PlayerRenderer renderer, float partialRenderTick, MatrixStack stack, IRenderTypeBuffer buffers, int light)
-
-
Method Detail
-
getRenderer
public PlayerRenderer getRenderer()
-
getPartialRenderTick
public float getPartialRenderTick()
-
getMatrixStack
public MatrixStack getMatrixStack()
-
getBuffers
public IRenderTypeBuffer getBuffers()
-
getLight
public int getLight()
-
-