-
Field Summary
Fields inherited from class net.citizensnpcs.api.trait.Trait
npc
-
Constructor Summary
Constructors
-
Method Summary
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
-
PaintingTrait
public PaintingTrait()
-
Method Details
-
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
-
setArt
public void setArt(Art art)
- See Also:
-