Class SpawnInfoWormhole
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.wormholes.SpawnInfoWormhole
-
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.toString()
Gets the display String for use in /checkspawns.Methods inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
calculateNominalRarity, getAdjustedRarity, onExport, onImport
-
Field Details
-
TYPE_ID_WORMHOLE
- See Also:
-
minMaxAge
public int minMaxAge -
maxMaxAge
public int maxMaxAge
-
-
Constructor Details
-
SpawnInfoWormhole
public SpawnInfoWormhole()
-
-
Method Details
-
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
. -
fits
Description copied from class:SpawnInfo
Calculates if this SpawnInfo is capable of spawning at the given location. -
toString
Description copied from class:SpawnInfo
Gets the display String for use in /checkspawns.
-