@Deprecated public static class RenderPlayerEvent.SetArmorModel extends RenderPlayerEvent
RenderPlayerEvent.Post, RenderPlayerEvent.Pre, RenderPlayerEvent.SetArmorModel, RenderPlayerEvent.Specials
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.Visibility
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private int |
result
Deprecated.
|
private int |
slot
Deprecated.
|
private ItemStack |
stack
Deprecated.
|
Constructor and Description |
---|
SetArmorModel(EntityPlayer player,
RenderPlayer renderer,
int slot,
float partialTick,
ItemStack stack)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getResultValue()
Deprecated.
Setting this to any value besides -1 will result in the function being
Immediately exited with the return value specified.
|
int |
getSlot()
Deprecated.
|
ItemStack |
getStack()
Deprecated.
|
void |
setResult(int result)
Deprecated.
|
getPartialRenderTick, getRenderer, getX, getY, getZ
getEntityPlayer
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private int result
private final int slot
@Nonnull private final ItemStack stack
public SetArmorModel(EntityPlayer player, RenderPlayer renderer, int slot, float partialTick, @Nonnull ItemStack stack)
public int getResultValue()
public void setResult(int result)
public int getSlot()
@Nonnull public ItemStack getStack()