Package net.citizensnpcs.trait
Class RotationTrait.RotationParams
java.lang.Object
net.citizensnpcs.trait.RotationTrait.RotationParams
- All Implemented Interfaces:
Cloneable,Persistable
- Enclosing class:
RotationTrait
-
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
RotationParams
public RotationParams()
-
-
Method Details
-
accepts
-
clone
-
describe
-
filter
-
headOnly
-
immediate
-
linkedBody
-
load
- Specified by:
loadin interfacePersistable
-
maxPitchPerTick
-
maxYawPerTick
-
persist
-
pitchRange
-
rotateHeadYawTowards
public float rotateHeadYawTowards(int t, float yaw, float targetYaw) -
rotatePitchTowards
public float rotatePitchTowards(int t, float pitch, float targetPitch) -
save
- Specified by:
savein interfacePersistable
-
uuidFilter
-
uuidFilter
-
yawRange
-