Class InterpolatedSkeleton
java.lang.Object
foundry.veil.api.client.graveyard.skeleton.InterpolatedSkeleton
- Direct Known Subclasses:
DebugSkeletonFactory.DebugModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnimationProperties(AnimationProperties properties, InterpolatedSkeletonParent parent) voidaddBone(InterpolatedBone part, ModelMesh mesh) voidaddConstraint(Constraint constraint) abstract voidanimate(AnimationProperties properties) voidvoidrender(com.mojang.blaze3d.vertex.PoseStack pPoseStack, com.mojang.blaze3d.vertex.VertexConsumer pVertexConsumer, int pPackedLight, int pPackedOverlay, float partialTicks, float pRed, float pGreen, float pBlue, float pAlpha) voidrenderDebug(InterpolatedSkeletonParent entity, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource buffer, float partialTicks) voidtick(AnimationProperties properties) protected void
-
Constructor Details
-
InterpolatedSkeleton
public InterpolatedSkeleton()
-
-
Method Details
-
updatePreviousPosition
protected void updatePreviousPosition() -
tick
-
addAnimationProperties
public void addAnimationProperties(AnimationProperties properties, InterpolatedSkeletonParent parent) -
animate
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack pPoseStack, com.mojang.blaze3d.vertex.VertexConsumer pVertexConsumer, int pPackedLight, int pPackedOverlay, float partialTicks, float pRed, float pGreen, float pBlue, float pAlpha) -
renderDebug
public void renderDebug(InterpolatedSkeletonParent entity, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource buffer, float partialTicks) -
addBone
-
addConstraint
-
buildRoots
public void buildRoots()
-