public static class LivingSpawnEvent.SpecialSpawn extends LivingSpawnEvent
ForgeEventFactory#doSpecialSpawn(EntityLiving, World, float, float, float).Cancelable.Event.HasResultMinecraftForge.EVENT_BUS.LivingSpawnEvent.AllowDespawn, LivingSpawnEvent.CheckSpawn, LivingSpawnEvent.SpecialSpawnLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeightEvent.HasResult, Event.Result| コンストラクタと説明 |
|---|
SpecialSpawn(MobEntity entity,
World world,
double x,
double y,
double z,
AbstractSpawner spawner,
SpawnReason spawnReason) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
AbstractSpawner |
getSpawner() |
SpawnReason |
getSpawnReason() |
getWorld, getX, getY, getZgetEntityLivinggetEntitygetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic SpecialSpawn(MobEntity entity, World world, double x, double y, double z, @Nullable AbstractSpawner spawner, SpawnReason spawnReason)
spawner - the position of a tileentity or approximate position of an entity that initiated the spawn if any@Nullable public AbstractSpawner getSpawner()
public SpawnReason getSpawnReason()