com.parzivail.util.client.render.MutableAnimatedModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pswg Show documentation
Show all versions of pswg Show documentation
Explore the galaxy with Galaxies: Parzi's Star Wars Mod!
package com.parzivail.util.client.render;
import com.parzivail.pswg.Client;
import net.minecraft.class_1297;
import net.minecraft.class_5597;
import net.minecraft.class_630;
public class MutableAnimatedModel extends class_5597
{
private final ModelAngleAnimator angleAnimator;
private class_630 root;
public MutableAnimatedModel(ModelAngleAnimator angleAnimator)
{
this.angleAnimator = angleAnimator;
}
public void setRoot(class_630 root)
{
this.root = root;
}
@Override
public class_630 method_32008()
{
return root;
}
@Override
public void method_2819(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
{
angleAnimator.setAngles(this, entity, limbAngle, limbDistance, animationProgress, headYaw, headPitch, Client.getTickDelta());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy