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, setEntitypublic SpawnActionNPC(SpawnInfoNPC spawnInfo, SpawnLocation spawnLocation)
protected NPCEntity createEntity()
SpawnActioncreateEntity in class SpawnAction<NPCEntity>