Class InterpolatedSkeleton<P extends InterpolatedSkeletonParent>
java.lang.Object
foundry.veil.model.graveyard.update.InterpolatedSkeleton<P>
- Direct Known Subclasses:
DebugSkeletonFactory.DebugModel
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnimationProperties(AnimationProperties properties, P parent) voidaddBone(InterpolatedBone part, ModelMesh mesh) abstract voidanimate(AnimationProperties properties) protected voidapplyConstraints(int iterations) voidvoidrender(float partialTick, com.mojang.blaze3d.vertex.PoseStack pPoseStack, com.mojang.blaze3d.vertex.VertexConsumer pVertexConsumer, int pPackedLight, int pPackedOverlay, float pRed, float pGreen, float pBlue, float pAlpha) voidtick(AnimationProperties properties) protected void
-
Field Details
-
roots
-
constraints
-
parts
-
meshes
-
-
Constructor Details
-
InterpolatedSkeleton
public InterpolatedSkeleton()
-
-
Method Details
-
updatePreviousPosition
protected void updatePreviousPosition() -
tick
-
addAnimationProperties
-
animate
-
applyConstraints
protected void applyConstraints(int iterations) -
render
public void render(float partialTick, com.mojang.blaze3d.vertex.PoseStack pPoseStack, com.mojang.blaze3d.vertex.VertexConsumer pVertexConsumer, int pPackedLight, int pPackedOverlay, float pRed, float pGreen, float pBlue, float pAlpha) -
addBone
-
buildRoots
public void buildRoots()
-