Class SpawnInfoItem
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.items.SpawnInfoItem
SpawnInfo for spawning item entities.
https://pixelmonmod.com/wiki/index.php?title=Better_Spawner/Spawn_Info/Item
-
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.item.ItemEntity>construct(AbstractSpawner spawner, SpawnLocation spawnLocation) Constructs aSpawnActionbased on the information in this SpawnInfo, theAbstractSpawner, and theSpawnLocation.voidonImport()toString()Gets the display String for use in /checkspawns.Methods inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnInfo
calculateNominalRarity, fits, getAdjustedRarity, onExport
-
Field Details
-
TYPE_ID_ITEM
- See Also:
-
item
-
minQuantity
public int minQuantity -
maxQuantity
public int maxQuantity -
itemStack
public transient net.minecraft.world.item.ItemStack itemStack
-
-
Constructor Details
-
SpawnInfoItem
public SpawnInfoItem()
-
-
Method Details
-
onImport
public void onImport() -
construct
public SpawnAction<? extends net.minecraft.world.entity.item.ItemEntity> 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.
-