-
Field Summary
Fields inherited from class net.citizensnpcs.api.trait.Trait
npc
-
Constructor Summary
Constructors
-
Method Summary
boolean
void
Called every tick if overridden.
boolean
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
-
EndermanTrait
public EndermanTrait()
-
Method Details
-
isAngry
public boolean isAngry()
-
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
-
toggleAngry
public boolean toggleAngry()