public interface SpawnerCondition
SpawnInfo
selection process. This occurs during
AbstractSpawner.fits(SpawnInfo, SpawnLocation)
which occurs asynchronously.
Instances of this class should be put inside the AbstractSpawner.conditions
list.
Modifier and Type | Method and Description |
---|---|
boolean |
fits(AbstractSpawner spawner,
SpawnInfo spawnInfo,
SpawnLocation spawnLocation)
Returns whether or not this
SpawnInfo at this SpawnLocation is acceptable. |
boolean fits(AbstractSpawner spawner, SpawnInfo spawnInfo, SpawnLocation spawnLocation)
SpawnInfo
at this SpawnLocation
is acceptable. This is performed async.