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
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSpawnAction<? extends net.minecraft.world.entity.Entity>construct(AbstractSpawner spawner, SpawnLocation spawnLocation) Constructs aSpawnActionbased on the information in this SpawnInfo, theAbstractSpawner, and theSpawnLocation.booleanfits(AbstractSpawner spawner, SpawnLocation spawnLocation) Calculates if this SpawnInfo is capable of spawning at the given location.voidonExport()voidonImport()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:SpawnInfoCalculates 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:SpawnInfoConstructs aSpawnActionbased on the information in this SpawnInfo, theAbstractSpawner, and theSpawnLocation. -
toString
Description copied from class:SpawnInfoGets the display String for use in /checkspawns.
-