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, setEntity
public SpawnActionNPCTrainer(SpawnInfoNPCTrainer spawnInfo, SpawnLocation spawnLocation)
protected NPCTrainer createEntity()
SpawnAction
createEntity
in class SpawnAction<NPCTrainer>