Package net.citizensnpcs.trait
Class Poses
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.Poses
Persists named 
Poses.- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanAdd aPosebooleanAdd aPosevoidassumePose(String flag) Sets the yaw/pitch to the stored pose, looked up by name.voidassumePose(Location location) Sets the yaw/pitch to the suppliedLocation.voiddescribe(CommandSender sender, int page) booleanvoidLoads a trait.booleanremovePose(String pose) voidrun()Called every tick if overridden.voidSaves a trait.voidsetDefaultPose(String pose) 
- 
Constructor Details- 
Posespublic Poses()
 
- 
- 
Method Details- 
addPoseAdd aPose- Returns:
- whether the pose has already been added
 
- 
addPoseAdd aPose- Returns:
- whether the pose has already been added
 
- 
assumePoseSets the yaw/pitch to the suppliedLocation.
- 
assumePoseSets the yaw/pitch to the stored pose, looked up by name.
- 
describe- Throws:
- CommandException
 
- 
getPose
- 
hasPose
- 
loadDescription copied from class:TraitLoads a trait.- Overrides:
- loadin class- Trait
- Parameters:
- key- DataKey to load from
- Throws:
- NPCLoadException- Thrown if this trait failed to load properly
 
- 
removePose
- 
runpublic void run()Description copied from class:TraitCalled every tick if overridden.
- 
saveDescription copied from class:TraitSaves a trait.
- 
setDefaultPose
 
-