Building from Source - Tschipcraft/spawnanimations GitHub Wiki

  1. Clone the repo
  2. Replace dynamic values
    • ${file_name} with the build output file name - used by the uninstall function to properly disable the right pack
    • ${version} with the current version (e.g. 1.0) - used in various messages and in the mod version metadata
    • ${mc_human_version_range} with the supported Minecraft version range in a human-readable format (e.g. 1.17x-1.21x) - only used in the pack.mcmeta file
    • ${mc_version_range_fabric} with the supported Minecraft version range in the Fabric format (e.g. >=1.17 <=1.21.5) - fabric.mod.json
    • ${mc_version_range_forge} with the supported Minecraft version range in the Forge format (e.g. [1.17,1.21.5]) - META-INF/mods.toml
    • ${mc_version_range_neoforge} with the supported Minecraft version range in the Forge format with a lower bound no earlier than 1.20.5 (e.g. [1.20.5,1.21.5]) - META-INF/neoforge.mods.toml
  3. Zip the files
    • For the data pack version, include all files and folders except: assets, net, META-INF, fabric.mod.json, unused, src, wiki, CHANGES.md, ".*"
    • For the mod version, include all files and folders except: unused, src, wiki, CHANGES.md, ".*"
      Make sure to change the extension from .zip to .jar for the mod version to be recognized

Note

All .java files in the src folder for the mod version have been precompiled into the net folder. Changing them will have no effect unless you go through the hassle of importing them into a Fabric/Quilt/Forge/NeoForge Development Environment and compiling them yourself. This may change in the future if my GitHub workflow skills improve.

For v1.10 and earlier, take a look at this page

⚠️ **GitHub.com Fallback** ⚠️