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