-
Field Summary
Fields inherited from class net.citizensnpcs.api.trait.Trait
npc
-
Constructor Summary
Constructors
-
Method Summary
boolean
void
Called every tick if overridden.
void
Methods inherited from class net.citizensnpcs.api.trait.Trait
getName, getNPC, isRunImplemented, linkToNPC, load, onAttach, onCopy, onDespawn, onDespawn, onPreSpawn, onRemove, onRemove, onSpawn, save
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BatTrait
public BatTrait()
-
Method Details
-
isAwake
public boolean isAwake()
-
run
public void run()
Description copied from class: Trait
Called every tick if overridden.
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Trait
-
setAwake
public void setAwake(boolean awake)