Class Skeleton

java.lang.Object
foundry.veil.api.client.necromancer.Skeleton

public abstract class Skeleton extends Object
  • Field Details

  • Constructor Details

    • Skeleton

      public Skeleton()
  • Method Details

    • tick

      public void tick()
    • addBone

      public void addBone(Bone part)
    • buildRoots

      public void buildRoots()
    • getMaxDepth

      public int getMaxDepth()
      Returns:
      The maximum number of bone layers in this skeleton
    • storeInstancedData

      public void storeInstancedData(ByteBuffer buffer, Collection<Bone> bones, it.unimi.dsi.fastutil.objects.Object2IntMap<String> boneIds, int depth, org.joml.Vector4f color, org.joml.Matrix3f normalMatrix, org.joml.Matrix4x3f baseTransform, org.joml.Matrix4x3f[] matrixStack, org.joml.Quaternionf[] orientationStack, float partialTicks)
      Steps through the entire skeleton to store in the specified bone buffer.
      Parameters:
      buffer -
      bones -
      boneIds -
      depth -
      matrixStack -
      orientationStack -