public class LivingPackSizeEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.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.
|
entityLiving
entity
Constructor and Description |
---|
LivingPackSizeEvent(EntityLiving entity) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public int maxPackSize
public LivingPackSizeEvent(EntityLiving entity)