Package net.citizensnpcs.trait
Class CurrentLocation
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.CurrentLocation
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CurrentLocation
public CurrentLocation()
-
-
Method Details
-
getBodyYaw
public float getBodyYaw() -
getLocation
-
load
Description copied from class:Trait
Loads a trait. -
onSpawn
public void onSpawn()Description copied from class:Trait
Called when anNPC
is spawned.NPC.getEntity()
will return null until this is called. This is also called onAttach when the NPC is already spawned. -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setLocation
-
toString
-