public class SpawnActionNPC extends SpawnAction<NPCEntity>
SpawnAction
for general NPC entities.Modifier and Type | Field and Description |
---|---|
java.lang.String |
name |
entity, spawnInfo, spawnLocation
Constructor and Description |
---|
SpawnActionNPC(SpawnInfoNPC spawnInfo,
SpawnLocation spawnLocation) |
Modifier and Type | Method and Description |
---|---|
protected NPCEntity |
createEntity()
Creates the entity and returns the result.
|
applyLocationMutations, doSpawn, getOrCreateEntity, setEntity
public SpawnActionNPC(SpawnInfoNPC spawnInfo, SpawnLocation spawnLocation)
protected NPCEntity createEntity()
SpawnAction
createEntity
in class SpawnAction<NPCEntity>