public class LivingPackSizeEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight
Event.HasResult, Event.Result
コンストラクタと説明 |
---|
LivingPackSizeEvent(MobEntity entity) |
修飾子とタイプ | メソッドと説明 |
---|---|
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) |
getEntityLiving
getEntity
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public LivingPackSizeEvent(MobEntity entity)
public int getMaxPackSize()
public void setMaxPackSize(int maxPackSize)