Skip to content

Building and Architecture

kltyton edited this page Dec 1, 2026 · 6 revisions

Building & Multi-Version Architecture

Wiki Home | 简体中文

Repository Layout (KltytonTemple)

AnimCue uses a shared-common, multi-target Gradle architecture:

AnimCue/
├── common/
│   └── src/
│       ├── main/       # Loader- and version-independent API, asset parser, curves, server/client scene logic
│       └── compat/     # Version & loader bridges selected per target:
│           ├── minecraft/
│           │   ├── legacy/          # Direct rendering & GeckoLib 4 bridges (1.20.1, 1.21.1)
│           │   ├── modern/          # RenderState submission & GeckoLib 5 / KBR bridges (26.1.2, 26.2, 26.3)
│           │   ├── registry_buffer/ # RegistryFriendlyByteBuf item codecs & TickRateManager (1.21.1+)
│           │   ├── pre_26_3/        # Entity state & PoseStack bridges (1.20.1–26.2)
│           │   ├── pal/             # PAL & PAL More Rotation layer bridges (1.21.1–26.3)
│           │   ├── 1.20.1/          # 1.20.1-specific mixins & preview helpers
│           │   ├── 1.21.1/          # 1.21.1-specific networking & PAL helpers
│           │   ├── 26.1.2/          # 26.1.2-specific model feature mixins
│           │   ├── 26.2/            # 26.2-specific model feature mixins
│           │   └── 26.3/            # 26.3-specific model feature, PoseStack & EntityState bridges
│           ├── fabric/              # Fabric entrypoints (1.20.1, 1.21.1, modern)
│           ├── forge/               # Forge 1.20.1 entrypoints
│           └── neoforge/            # NeoForge entrypoints (1.21.1, modern)
├── targets/
│   ├── fabric-1.20.1/
│   ├── forge-1.20.1/
│   ├── fabric-1.21.1/
│   ├── neoforge-1.21.1/
│   ├── fabric-26.1.2/
│   ├── neoforge-26.1.2/
│   ├── fabric-26.2/
│   ├── neoforge-26.2/
│   ├── fabric-26.3/
│   └── neoforge-26.3/
├── examples/           # Standalone Blockbench (.bbmodel) & animation examples (never packaged into JARs)
└── docs/wiki/          # Bilingual developer Wiki (EN & ZH)

Blockbench Plugin Repository: The authoring plugin AnimCue Studio is maintained exclusively in its standalone repository at kltyton/AnimCue-Studio.


Building Any Target

Run the Gradle wrapper from the target directory you want to build:

cd targets/neoforge-1.21.1
../../gradlew build verifyDistribution

Built distribution artifacts are written to: targets/<loader>-<mc>/build/libs/interactive_animation-<loader>-<mc>-<version>.jar

Optional Development Properties

  • -PanimationCompatibility=true: Includes supported PAL and PAL More Rotation dependencies in the development runtime for targets that support PAL (1.21.1, 26.1.2, 26.2).
  • Dependency declarations in release metadata use compatible version ranges (no hard-pinned single release versions) and do not embed third-party dependencies via Jar-in-Jar.

License

AnimCue is released under the GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later). See LICENSE and COPYING.

Clone this wiki locally