Interface ModelScript

All Known Implementing Classes:
CachedModelScript, NativeModelScript

public interface ModelScript
  • Method Details

    • load

      @Contract("_ -> new") @NotNull static @NotNull ModelScript load(@NotNull @NotNull String path) throws ResourceIOException
      Throws:
      ResourceIOException
    • load

      @Contract("_ -> new") @NotNull static @NotNull ModelScript load(@NotNull @NotNull Read buf) throws ResourceIOException
      Throws:
      ResourceIOException
    • load

      @Contract("_, _ -> new") @NotNull static @NotNull ModelScript load(@NotNull @NotNull Vfs vfs, @NotNull @NotNull String name) throws ResourceIOException
      Throws:
      ResourceIOException
    • skeletonName

      @NotNull @NotNull String skeletonName()
    • skeletonMeshDisabled

      boolean skeletonMeshDisabled()
    • meshCount

      long meshCount()
    • disabledAnimationsCount

      long disabledAnimationsCount()
    • animationCombineCount

      long animationCombineCount()
    • animationBlendCount

      long animationBlendCount()
    • animationAliasCount

      long animationAliasCount()
    • modelTagCount

      long modelTagCount()
    • animationCount

      long animationCount()
    • disabledAnimation

      @Nullable @Nullable String disabledAnimation(long i)
    • mesh

      @Nullable @Nullable String mesh(long i)
    • animationCombine

      @Nullable @Nullable AnimationCombine animationCombine(long i)
    • animationBlend

      @Nullable @Nullable AnimationBlend animationBlend(long i)
    • animationAlias

      @Nullable @Nullable AnimationAlias animationAlias(long i)
    • modelTag

      @Nullable @Nullable String modelTag(long i)
    • animation

      @Nullable @Nullable NativeAnimation animation(long i)
    • animationCombines

      @NotNull @NotNull List<@NotNull AnimationCombine> animationCombines()
    • meshes

      @NotNull @NotNull List<@NotNull String> meshes()
    • disabledAnimations

      @NotNull @NotNull List<@NotNull String> disabledAnimations()
    • animationBlends

      @NotNull @NotNull List<@NotNull AnimationBlend> animationBlends()
    • animationAliases

      @NotNull @NotNull List<@NotNull AnimationAlias> animationAliases()
    • modelTags

      @NotNull @NotNull List<@NotNull String> modelTags()
    • animations

      @NotNull @NotNull List<@NotNull NativeAnimation> animations()