Index

A B C D E F G H I L M P R S T U V X Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

AnimationContext - Record Class in dev.oxydien.mathimations.animations
A context to animate an entity.
AnimationContext(Pose, AnimatorContext, double) - Constructor for record class dev.oxydien.mathimations.animations.AnimationContext
Creates an instance of a AnimationContext record class.
AnimationMixer - Class in dev.oxydien.mathimations.animations
Responsible for merging multiple layer outputs into a final pose.
AnimationMixer() - Constructor for class dev.oxydien.mathimations.animations.AnimationMixer
 
AnimationState<T> - Class in dev.oxydien.mathimations.animations
Represents a single animation instance within a layer, including its current weight and transition state.
AnimationState(int, IMathAnimation<T>) - Constructor for class dev.oxydien.mathimations.animations.AnimationState
 
animationTime() - Method in record class dev.oxydien.mathimations.animations.AnimationContext
Returns the value of the animationTime record component.
animationWindow(float, float, float, float) - Static method in class dev.oxydien.mathimations.utils.TimingUtils
Creates pseudo-random animation windows based on time.
animatorContext() - Method in record class dev.oxydien.mathimations.animations.AnimationContext
Returns the value of the animatorContext record component.
AnimatorContext - Record Class in dev.oxydien.mathimations.animations
 
AnimatorContext(double, double, float) - Constructor for record class dev.oxydien.mathimations.animations.AnimatorContext
Creates an instance of a AnimatorContext record class.
applyTo(ModelPart) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
applyToPose(T, AnimationContext) - Method in class dev.oxydien.mathimations.animations.AnimationState
Applies this animation to a pose

B

blend(ModelPartState, ModelPartState, float) - Static method in class dev.oxydien.mathimations.animations.AnimationMixer
Blend two ModelPartStates together Helper method for blending within a layer
blend(Pose, Pose, float) - Static method in class dev.oxydien.mathimations.animations.AnimationMixer
Blend two poses together
blendMultiple(List<Pose>, List<Float>) - Static method in class dev.oxydien.mathimations.animations.AnimationMixer
Blend multiple poses together with normalized weights

C

children() - Method in record class dev.oxydien.mathimations.model.ModelInfo
Returns the value of the children record component.
copy() - Method in class dev.oxydien.mathimations.model.ModelPartState
 
copy() - Method in class dev.oxydien.mathimations.model.Pose
Create a deep copy of this pose
cosValue(float, float, float, float) - Static method in class dev.oxydien.mathimations.utils.TriGeoUtils
Maps a cosine wave to a value between min and max over a given period.
createDefault() - Static method in class dev.oxydien.mathimations.model.ModelPartState
 
createDefault(Collection<String>) - Static method in class dev.oxydien.mathimations.model.Pose
Create a default pose with all parts at zero (scale = 1.0)

D

DEFAULT_LAYER_COUNT - Static variable in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
 
delta() - Method in record class dev.oxydien.mathimations.animations.AnimatorContext
Returns the value of the delta record component.
dev.oxydien.mathimations - package dev.oxydien.mathimations
 
dev.oxydien.mathimations.animations - package dev.oxydien.mathimations.animations
 
dev.oxydien.mathimations.interfaces - package dev.oxydien.mathimations.interfaces
 
dev.oxydien.mathimations.mixins - package dev.oxydien.mathimations.mixins
 
dev.oxydien.mathimations.model - package dev.oxydien.mathimations.model
 
dev.oxydien.mathimations.prefabs - package dev.oxydien.mathimations.prefabs
 
dev.oxydien.mathimations.utils - package dev.oxydien.mathimations.utils
 

E

EntityAnimationWrapper<E,M> - Class in dev.oxydien.mathimations.animations
Wrapper for the EntityAnimator.
EntityAnimationWrapper(byte, byte, HashMap<Short, IMathAnimation<E>>, M) - Constructor for class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Creates an entity animation wrapper with the given global animations on a specific layer.
EntityAnimationWrapper(byte, M) - Constructor for class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Creates an entity animation wrapper with the specified number of layers.
EntityAnimationWrapper(HashMap<Short, IMathAnimation<E>>, M) - Constructor for class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Creates an entity animation wrapper with the given global animations on layer 0.
EntityAnimationWrapper(M) - Constructor for class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Creates an entity animation wrapper with default settings (8 layers, no global animations).
EntityAnimator<E,M> - Class in dev.oxydien.mathimations.animations
The main controller that manages all animation layers for an entity.
EntityAnimator(E, M, byte) - Constructor for class dev.oxydien.mathimations.animations.EntityAnimator
 
equals(Object) - Method in record class dev.oxydien.mathimations.animations.AnimationContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.oxydien.mathimations.animations.AnimatorContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.oxydien.mathimations.model.ModelInfo
Indicates whether some other object is "equal to" this one.

F

fromPart(ModelPart) - Static method in class dev.oxydien.mathimations.model.ModelPartState
 

G

getAnimation() - Method in class dev.oxydien.mathimations.animations.AnimationState
 
getAnimationId() - Method in class dev.oxydien.mathimations.animations.AnimationState
 
getAnimationStartTime() - Method in class dev.oxydien.mathimations.animations.AnimationState
Returns the EntityStartTime of when the animation has entered the active list
getAnimationTime() - Method in record class dev.oxydien.mathimations.animations.AnimationContext
The time since the animation started, in seconds.
getAnimator(E) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Gets the animator for a specific entity, allowing direct access to animator methods.
getCurrentAnimation(byte) - Method in interface dev.oxydien.mathimations.interfaces.IAutoAnimation
Returns the currently playing animation ID on the given layer index.
getDelta() - Method in record class dev.oxydien.mathimations.animations.AnimationContext
Get the delta time since the last render in seconds.
getDelta() - Method in record class dev.oxydien.mathimations.animations.AnimatorContext
 
getInfo(ModelPart) - Static method in record class dev.oxydien.mathimations.model.ModelInfo
Tries to construct a new ModelInfo object from the given root part.
getLayerCount() - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Gets the number of layers configured for this wrapper.
getLayerCount() - Method in class dev.oxydien.mathimations.animations.EntityAnimator
Get the number of layers in this animator
getPart(String) - Method in record class dev.oxydien.mathimations.animations.AnimationContext
Get the model part state for the given name.
getPart(String) - Method in class dev.oxydien.mathimations.model.Pose
Get the state of a specific model part
getPartialTicks() - Method in record class dev.oxydien.mathimations.animations.AnimationContext
Get the partial ticks since the last (global) render.
getPartialTicks() - Method in record class dev.oxydien.mathimations.animations.AnimatorContext
 
getPartNames() - Method in record class dev.oxydien.mathimations.model.ModelInfo
 
getPartNames() - Method in class dev.oxydien.mathimations.model.Pose
Get all part names in this pose
getParts(String...) - Method in record class dev.oxydien.mathimations.animations.AnimationContext
Get the model part states for the given names.
getPitch() - Method in class dev.oxydien.mathimations.model.ModelPartState
 
getPivotX() - Method in class dev.oxydien.mathimations.model.ModelPartState
 
getPivotY() - Method in class dev.oxydien.mathimations.model.ModelPartState
 
getPivotZ() - Method in class dev.oxydien.mathimations.model.ModelPartState
 
getRoll() - Method in class dev.oxydien.mathimations.model.ModelPartState
 
getRootAndChildren() - Method in interface dev.oxydien.mathimations.interfaces.IModelPartProvider
Used to map out the model hierarchy for animations.
getScaleX() - Method in class dev.oxydien.mathimations.model.ModelPartState
 
getScaleY() - Method in class dev.oxydien.mathimations.model.ModelPartState
 
getScaleZ() - Method in class dev.oxydien.mathimations.model.ModelPartState
 
getTimeSinceEntityStart() - Method in record class dev.oxydien.mathimations.animations.AnimationContext
The time since the entity was spawned*, in seconds.
getTimeSinceEntityStart() - Method in record class dev.oxydien.mathimations.animations.AnimatorContext
 
getTransitionTime() - Method in interface dev.oxydien.mathimations.interfaces.IMathAnimation
 
getTransitionTime() - Method in class dev.oxydien.mathimations.prefabs.LegAnimation
 
getWeight() - Method in class dev.oxydien.mathimations.animations.AnimationState
 
getYaw() - Method in class dev.oxydien.mathimations.model.ModelPartState
 

H

hashCode() - Method in record class dev.oxydien.mathimations.animations.AnimationContext
Returns a hash code value for this object.
hashCode() - Method in record class dev.oxydien.mathimations.animations.AnimatorContext
Returns a hash code value for this object.
hashCode() - Method in record class dev.oxydien.mathimations.model.ModelInfo
Returns a hash code value for this object.
hasReachedTarget() - Method in class dev.oxydien.mathimations.animations.AnimationState
Check if this animation has reached its target weight

I

IAnimationCondition - Interface in dev.oxydien.mathimations.interfaces
 
IAutoAnimation - Interface in dev.oxydien.mathimations.interfaces
Interface to automatically update the animation.
IMathAnimation<T> - Interface in dev.oxydien.mathimations.interfaces
 
IModelPartChildAccessor - Interface in dev.oxydien.mathimations.interfaces
 
IModelPartProvider<T> - Interface in dev.oxydien.mathimations.interfaces
 
init() - Static method in class dev.oxydien.mathimations.MathimationsLib
 
initOrUpdate(E, float) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Initializes or updates an entity with the given model provider.
internalInfo(Object...) - Static method in class dev.oxydien.mathimations.MathimationsLib
 
internalWarn(Object...) - Static method in class dev.oxydien.mathimations.MathimationsLib
 
isFadedOut() - Method in class dev.oxydien.mathimations.animations.AnimationState
Check if this animation is fading out (weight is zero or heading to zero)
isInactive() - Method in class dev.oxydien.mathimations.animations.AnimationState
 

L

LegAnimation<T> - Class in dev.oxydien.mathimations.prefabs
Animation for the legs of any LivingEntity.
LegAnimation(float, float, LegAnimation.LegAxis, List<List<String>>) - Constructor for class dev.oxydien.mathimations.prefabs.LegAnimation
Creates a new LegsAnimation.
LegAnimation.LegAxis - Enum Class in dev.oxydien.mathimations.prefabs
The axis of the legs.
lerp(ModelPartState, float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
LOGGER - Static variable in class dev.oxydien.mathimations.MathimationsLib
 

M

MathimationsLib - Class in dev.oxydien.mathimations
 
MathimationsLib() - Constructor for class dev.oxydien.mathimations.MathimationsLib
 
MOD_ID - Static variable in class dev.oxydien.mathimations.MathimationsLib
 
ModelInfo - Record Class in dev.oxydien.mathimations.model
Constructs a new ModelInfo object with the given root part and list of child names.
ModelInfo(ModelPart, List<String>) - Constructor for record class dev.oxydien.mathimations.model.ModelInfo
Creates an instance of a ModelInfo record class.
ModelPartExtension - Class in dev.oxydien.mathimations.mixins
Helper mixin for EntityAnimator.
ModelPartExtension() - Constructor for class dev.oxydien.mathimations.mixins.ModelPartExtension
 
modelPartExtensions$getChildren() - Method in interface dev.oxydien.mathimations.interfaces.IModelPartChildAccessor
 
modelPartExtensions$getChildren() - Method in class dev.oxydien.mathimations.mixins.ModelPartExtension
 
ModelPartState - Class in dev.oxydien.mathimations.model
 
ModelPartState() - Constructor for class dev.oxydien.mathimations.model.ModelPartState
Creates a new ModelPartState with all values set to 0
ModelPartState(ModelPartState) - Constructor for class dev.oxydien.mathimations.model.ModelPartState
Copy constructor
ModelPartState(ModelPart) - Constructor for class dev.oxydien.mathimations.model.ModelPartState
Creates a new ModelPartState based on the initial transform and scale of the given part.
ModelPartState(PartPose, Vector3f) - Constructor for class dev.oxydien.mathimations.model.ModelPartState
 

P

partialTicks() - Method in record class dev.oxydien.mathimations.animations.AnimatorContext
Returns the value of the partialTicks record component.
playAnimation(byte, short) - Method in class dev.oxydien.mathimations.animations.EntityAnimator
Play an animation on a specific layer
playAnimation(E, byte, short) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Plays an animation on a specific entity and layer.
playAnimation(E, int, int) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
 
playAnimationIf(byte, short, IAnimationCondition) - Method in class dev.oxydien.mathimations.animations.EntityAnimator
Play an animation on a specific layer if the condition is met
playAnimationIf(E, byte, short, IAnimationCondition) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Plays an animation on a specific entity and layer if the condition is met.
playAnimationIf(E, int, int, IAnimationCondition) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
 
pose() - Method in record class dev.oxydien.mathimations.animations.AnimationContext
Returns the value of the pose record component.
Pose - Class in dev.oxydien.mathimations.model
Represents the complete pose of an entity at a point in time.
Pose() - Constructor for class dev.oxydien.mathimations.model.Pose
 
Pose(ModelInfo) - Constructor for class dev.oxydien.mathimations.model.Pose
 
Pose(Map<String, ModelPartState>) - Constructor for class dev.oxydien.mathimations.model.Pose
 

R

registerAnimation(byte, short, IMathAnimation<E>) - Method in class dev.oxydien.mathimations.animations.EntityAnimator
Register an animation to a specific layer
registerAnimation(E, byte, short, IMathAnimation<E>) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Registers an animation to a specific entity on a specific layer.
registerAnimation(E, int, int, IMathAnimation<E>) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Wrapper method that converts parameters to required types.
registerGlobalAnimation(byte, short, IMathAnimation<E>) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Registers a global animation to a specific layer.
registerGlobalAnimation(int, int, IMathAnimation<E>) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
 
remove(E) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Removes the animator for the given entity from the internal map.
reset() - Method in class dev.oxydien.mathimations.animations.EntityAnimator
Reset all model parts to their default pose
resetEntity(E) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Resets the animator for the given entity, calling EntityAnimator.reset() on it.
root() - Method in record class dev.oxydien.mathimations.model.ModelInfo
Returns the value of the root record component.
rotateX(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
rotateY(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
rotateZ(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
runAnimation() - Method in interface dev.oxydien.mathimations.interfaces.IAnimationCondition
 

S

setAnimationStartTime(double) - Method in class dev.oxydien.mathimations.animations.AnimationState
Sets the animation start time.
setPart(String, ModelPartState) - Method in class dev.oxydien.mathimations.model.Pose
Set the state of a specific model part
setPitch(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setPitchDeg(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setPivot(float, float, float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setPivotX(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setPivotY(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setPivotZ(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setRoll(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setRollDeg(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setRotation(float, float, float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setRotationDeg(float, float, float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setRotationX(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setRotationY(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setRotationZ(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setScale(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setScale(float, float, float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setScaleX(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setScaleY(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setScaleZ(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setWeight(float) - Method in class dev.oxydien.mathimations.animations.AnimationState
 
setYaw(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
setYawDeg(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
sinValue(float, float, float, float) - Static method in class dev.oxydien.mathimations.utils.TriGeoUtils
Maps a sine wave to a value between min and max over a given period.
stopAnimation(byte, short, float) - Method in class dev.oxydien.mathimations.animations.EntityAnimator
Stop an animation on a specific layer
stopAnimation(E, byte, short, float) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Stops a specific animation on a specific layer with a transition.
stopAnimation(E, int, int, float) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
 
stopLayer(byte, float) - Method in class dev.oxydien.mathimations.animations.EntityAnimator
Stop all animations on a specific layer
stopLayer(E, byte, float) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
Stops all animations on a specific layer with a transition.
stopLayer(E, int, float) - Method in class dev.oxydien.mathimations.animations.EntityAnimationWrapper
 

T

timeSinceEntityStart() - Method in record class dev.oxydien.mathimations.animations.AnimatorContext
Returns the value of the timeSinceEntityStart record component.
TimingUtils - Class in dev.oxydien.mathimations.utils
 
TimingUtils() - Constructor for class dev.oxydien.mathimations.utils.TimingUtils
 
toString() - Method in record class dev.oxydien.mathimations.animations.AnimationContext
Returns a string representation of this record class.
toString() - Method in class dev.oxydien.mathimations.animations.AnimationState
 
toString() - Method in record class dev.oxydien.mathimations.animations.AnimatorContext
Returns a string representation of this record class.
toString() - Method in record class dev.oxydien.mathimations.model.ModelInfo
Returns a string representation of this record class.
toString() - Method in class dev.oxydien.mathimations.model.ModelPartState
 
toString() - Method in class dev.oxydien.mathimations.model.Pose
 
transitionTo(float) - Method in class dev.oxydien.mathimations.animations.AnimationState
Start transitioning towards a target weight
transitionTo(float, float) - Method in class dev.oxydien.mathimations.animations.AnimationState
Start transitioning towards a target weight
translate(float, float, float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
translateX(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
translateY(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
translateZ(float) - Method in class dev.oxydien.mathimations.model.ModelPartState
 
TriGeoUtils - Class in dev.oxydien.mathimations.utils
 
TriGeoUtils() - Constructor for class dev.oxydien.mathimations.utils.TriGeoUtils
 

U

update(T, AnimationContext) - Method in interface dev.oxydien.mathimations.interfaces.IMathAnimation
Update the animation
update(T, AnimationContext) - Method in class dev.oxydien.mathimations.prefabs.LegAnimation
 
updatePose(float) - Method in class dev.oxydien.mathimations.animations.EntityAnimator
Update all layers and apply final pose to the model
updateWeight(double) - Method in class dev.oxydien.mathimations.animations.AnimationState
Updates the weight towards the target weight

V

valueOf(String) - Static method in enum class dev.oxydien.mathimations.prefabs.LegAnimation.LegAxis
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.oxydien.mathimations.prefabs.LegAnimation.LegAxis
Returns an array containing the constants of this enum class, in the order they are declared.

X

X - Enum constant in enum class dev.oxydien.mathimations.prefabs.LegAnimation.LegAxis
 

Z

Z - Enum constant in enum class dev.oxydien.mathimations.prefabs.LegAnimation.LegAxis
 
A B C D E F G H I L M P R S T U V X Z 
All Classes and Interfaces|All Packages|Constant Field Values