Class CurrentLocation
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.CurrentLocation
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Trait
getName, getNPC, getTraitId, isRunImplemented, linkToNPC, onAttach, onCopy, onDespawn, onDespawn, onPreSpawn, onRemove, onRemove, save
-
Constructor Details
-
CurrentLocation
public CurrentLocation()
-
-
Method Details
-
getBodyYaw
public float getBodyYaw() -
getChunkCoord
-
getLocation
-
getWorldUUID
-
load
-
onSpawn
public 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. -
run
-
setLocation
-
toString
-