Package net.citizensnpcs.trait
Class Anchors
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.Anchors
Persists a list of
Anchors.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.citizensnpcs.api.trait.Trait
getName, getNPC, getTraitId, isRunImplemented, linkToNPC, onAttach, onCopy, onDespawn, onDespawn, onPreSpawn, onRemove, onRemove, onSpawn, run
-
Constructor Details
-
Anchors
public Anchors()
-
-
Method Details
-
addAnchor
-
getAnchor
-
getAnchors
-
load
Description copied from class:TraitLoads a trait.- Overrides:
loadin classTrait- Parameters:
key- DataKey to load from- Throws:
NPCLoadException- Thrown if this trait failed to load properly
-
removeAnchor
-
save
Description copied from class:TraitSaves a trait.
-