Package net.citizensnpcs.trait
Class SitTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.SitTrait
-
Constructor Details
-
SitTrait
public SitTrait()
-
-
Method Details
-
isSitting
public boolean isSitting() -
onDespawn
public void onDespawn()Description copied from class:Trait
Called just before the attachedNPC
is despawned.NPC.getEntity()
will be non-null. -
onRemove
public void onRemove()Description copied from class:Trait
Called when a trait is removed from the attachedNPC
. -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setSitting
-