public static class LivingSpawnEvent.CheckSpawn extends LivingSpawnEvent
LivingSpawnEvent.AllowDespawn, LivingSpawnEvent.CheckSpawn, LivingSpawnEvent.SpecialSpawnLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeightEvent.HasResult, Event.Result| コンストラクタと説明 | 
|---|
| CheckSpawn(MobEntity entity,
          IWorld world,
          double x,
          double y,
          double z,
          AbstractSpawner spawner,
          SpawnReason spawnReason)CheckSpawn is fired when an Entity is about to be spawned. | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| AbstractSpawner | getSpawner() | 
| SpawnReason | getSpawnReason() | 
| boolean | isSpawner() | 
getWorld, getX, getY, getZgetEntityLivinggetEntitygetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic CheckSpawn(MobEntity entity, IWorld world, double x, double y, double z, @Nullable AbstractSpawner spawner, SpawnReason spawnReason)
entity - the spawning entityworld - the world to spawn inx - x coordinatey - y coordinatez - z coordinatespawner - position of the MobSpawner
                  null if it this spawn is coming from a WorldSpawnerpublic boolean isSpawner()
@Nullable public AbstractSpawner getSpawner()
public SpawnReason getSpawnReason()