Class ArmatureLibrary

java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.armature.ArmatureLibrary

public final class ArmatureLibrary extends Object
The armatures read so far, by id. An armature is read the first time it is asked for and again after resource packs reload (ShaderManagerMixin); textures inside Blockbench files are uploaded as they are read and dropped on reload.
  • Method Details

    • get

      public static BakedArmature get(net.minecraft.resources.Identifier id)
    • getIfLoaded

      @Nullable public static @Nullable BakedArmature getIfLoaded(net.minecraft.resources.Identifier id)
      The armature if it has been read since the last reload, without reading it.
    • reload

      public static void reload()