Class SpawnInfoCollection
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.collection.SpawnInfoCollection
A special type of
SpawnInfo
that contains a collection of others.
https://pixelmonmod.com/wiki/index.php?title=Better_Spawner/Spawn_Info/Collection
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
anticondition, chance, compositeCondition, condition, groupSpawnSettings, GSON, locationTypes, percentage, rarity, rarityMultipliers, requiredSpace, set, spawnInfoTypes, stringLocationTypes, tags, typeID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSpawnAction<? extends net.minecraft.world.entity.Entity>
construct
(AbstractSpawner spawner, SpawnLocation spawnLocation) Constructs aSpawnAction
based on the information in this SpawnInfo, theAbstractSpawner
, and theSpawnLocation
.boolean
fits
(AbstractSpawner spawner, SpawnLocation spawnLocation) Calculates if this SpawnInfo is capable of spawning at the given location.void
onExport()
void
onImport()
toString()
Gets the display String for use in /checkspawns.Methods inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
calculateNominalRarity, getAdjustedRarity
-
Field Details
-
TYPE_ID_COLLECTION
- See Also:
-
collectionLabel
-
collection
-
-
Constructor Details
-
SpawnInfoCollection
public SpawnInfoCollection()
-
-
Method Details
-
onExport
public void onExport() -
onImport
public void onImport() -
fits
Description copied from class:SpawnInfo
Calculates if this SpawnInfo is capable of spawning at the given location. -
construct
public SpawnAction<? extends net.minecraft.world.entity.Entity> construct(AbstractSpawner spawner, SpawnLocation spawnLocation) Description copied from class:SpawnInfo
Constructs aSpawnAction
based on the information in this SpawnInfo, theAbstractSpawner
, and theSpawnLocation
. -
toString
Description copied from class:SpawnInfo
Gets the display String for use in /checkspawns.
-