Skip to content

Development

jack edited this page Sep 25, 2026 · 4 revisions

Development

Building

From the Salamander repository, run:

./gradlew build

The build runs the unit tests on the build JVM and Java 8.

Resource-pack regression tests

To include the original-pack regression tests, download these ZIPs separately and keep their filenames:

Set SALAMANDER_CEM_PACK_DIR to the directory containing the files:

SALAMANDER_CEM_PACK_DIR=/path/to/packs ./gradlew build

These optional tests exercise all 114 Fresh Animations models, its model-selection rules, and the spider extension across animation frames. When the Just Expressions ZIP is present, they also check its wide and slim models, facial geometry, and animations. The Fresh Moves checks exercise both player sizes across movement states, overlay alignment, native arm poses, static hands, and body variables shared with capes and elytra. Cozy Critters checks exercise its original random-texture rules, including weighted variants and baby/biome conditions. The packs are not bundled with Salamander.

See Custom entity models for supported targets, configuration, and adding compatibility for other backports.

Debug models

Set debug.debugMode=true in config/salamander/salamander.cfg on the client and server, then restart.

The sampler cycles through the creeper, bat, render-layer, NPC, magma-spider, and jester models when right-clicked. Sneak-right-click to go backward.

/summon salamander.debug_model ~ ~ ~
/summon salamander.debug_citadel_fly ~ ~ ~
/summon salamander.debug_citadel_dragon ~ ~ ~

Clone this wiki locally