Package net.citizensnpcs.trait
Class RotationTrait.RotationParams
java.lang.Object
net.citizensnpcs.trait.RotationTrait.RotationParams
- All Implemented Interfaces:
- Cloneable,- Persistable
- Enclosing class:
- RotationTrait
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanclone()describe()headOnly(boolean headOnly) immediate(boolean immediate) linkedBody(boolean linked) voidmaxPitchPerTick(float val) maxYawPerTick(float val) persist(boolean persist) pitchRange(float[] val) floatrotateHeadYawTowards(int t, float yaw, float targetYaw) floatrotatePitchTowards(int t, float pitch, float targetPitch) voiduuidFilter(List<UUID> uuids) uuidFilter(UUID... uuids) yawRange(float[] val) 
- 
Constructor Details- 
RotationParamspublic RotationParams()
 
- 
- 
Method Details- 
accepts
- 
clone
- 
describe
- 
filter
- 
headOnly
- 
immediate
- 
linkedBody
- 
load- Specified by:
- loadin interface- Persistable
 
- 
maxPitchPerTick
- 
maxYawPerTick
- 
persist
- 
pitchRange
- 
rotateHeadYawTowardspublic float rotateHeadYawTowards(int t, float yaw, float targetYaw) 
- 
rotatePitchTowardspublic float rotatePitchTowards(int t, float pitch, float targetPitch) 
- 
save- Specified by:
- savein interface- Persistable
 
- 
uuidFilter
- 
uuidFilter
- 
yawRange
 
-