public class LivingPackSizeEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
int |
maxPackSize
This event is fired when the spawning system determines the
maximum amount of the selected entity that can spawn at the same
time.
|
entityLivingentity| Constructor and Description |
|---|
LivingPackSizeEvent(EntityLiving entity) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult, setuppublic int maxPackSize
public LivingPackSizeEvent(EntityLiving entity)