Class SpawnInfoWormhole
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.wormholes.SpawnInfoWormhole
-
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.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:SpawnInfoConstructs aSpawnActionbased on the information in this SpawnInfo, theAbstractSpawner, and theSpawnLocation. -
fits
Description copied from class:SpawnInfoCalculates if this SpawnInfo is capable of spawning at the given location. -
toString
Description copied from class:SpawnInfoGets the display String for use in /checkspawns.
-