Class SpawnActionNPC
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnAction<NPCEntity>
com.pixelmonmod.pixelmon.api.spawning.archetypes.entities.npcs.SpawnActionNPC
SpawnAction
for general NPC entities.-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnAction
entity, spawnInfo, spawnLocation
-
Constructor Summary
-
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.spawning.SpawnAction
applyLocationMutations, doSpawn, getOrCreateEntity, setEntity
-
Field Details
-
name
-
-
Constructor Details
-
SpawnActionNPC
-
-
Method Details
-
createEntity
Description copied from class:SpawnAction
Creates the entity and returns the result. Returning null if the spawn should fail is safe in default implementations.- Specified by:
createEntity
in classSpawnAction<NPCEntity>
-