public class SpawnActionNPCTrainer extends SpawnAction<NPCTrainer>
SpawnAction for NPCTrainer trainers.| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
trainerType |
entity, spawnInfo, spawnLocation| Constructor and Description |
|---|
SpawnActionNPCTrainer(SpawnInfoNPCTrainer spawnInfo,
SpawnLocation spawnLocation) |
| Modifier and Type | Method and Description |
|---|---|
protected NPCTrainer |
createEntity()
Creates the entity and returns the result.
|
applyLocationMutations, doSpawn, getOrCreateEntity, setEntitypublic SpawnActionNPCTrainer(SpawnInfoNPCTrainer spawnInfo, SpawnLocation spawnLocation)
protected NPCTrainer createEntity()
SpawnActioncreateEntity in class SpawnAction<NPCTrainer>