Package net.citizensnpcs.trait
Class CurrentLocation
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.CurrentLocation
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
CurrentLocationpublic CurrentLocation()
 
- 
- 
Method Details- 
getBodyYawpublic float getBodyYaw()
- 
getLocation
- 
loadDescription copied from class:TraitLoads a trait.
- 
onSpawnpublic void onSpawn()Description copied from class:TraitCalled when anNPCis spawned.NPC.getEntity()will return null until this is called. This is also called onAttach when the NPC is already spawned.
- 
runpublic void run()Description copied from class:TraitCalled every tick if overridden.
- 
setLocation
- 
toString
 
-