Blockhaven: farm and wild animals on Java's models - #71
Merged
eklonofficial merged 6 commits intoOct 3, 2026
Merged
Conversation
|
@k1519035 is attempting to deploy a commit to the Marin Team on Vercel. A member of the Team first needs to authorize it. |
…inventory preview The player is Java's PlayerModel (64x64 skin with its outer layer, slim arms) unwrapped exactly as ModelPart.Cube, posed by a port of HumanoidModel.setupAnim. Players can load their own Minecraft skin (64x64 or classic 64x32). Armor is Java's two-layer armor model, using a pack's textures/models/armor when present. The inventory shows the live model turned towards the pointer. Also fixes the elytra wind code throwing in the rain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R5yMmGQVzFD1XVDyZe42KG
Its angles came out NaN until the first mouse move, so the preview stayed empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R5yMmGQVzFD1XVDyZe42KG
…from your own game Zombie, husk, drowned, skeleton, stray and wither skeleton use Java's ZombieModel, DrownedModel and SkeletonModel meshes and texture layouts, posed by HumanoidModel.setupAnim with Java's zombie and skeleton arm animations. A resource pack's entity textures replace their painted skins, and the stray's clothes and the drowned's outer layer are drawn as in Java. tools/pack-from-jar.mjs builds a resource pack of the official textures from the player's own installed Minecraft (launcher, Modrinth, Prism or CurseForge), never committed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R5yMmGQVzFD1XVDyZe42KG
Villagers (with their biome and profession layers), wandering traders, zombie villagers, witches, pillagers, vindicators, evokers, piglins and zombified piglins use Java's VillagerModel, WitchModel, IllagerModel, PiglinModel and ZombieVillagerModel, posed by their setupAnim (folded arms, spellcasting, crossbows, axe swings, flapping ears). Entity texture layers grow to 128x128 so Java's taller textures (the witch's 64x128) fit, and a model face's painted decoration no longer spills onto another face's pixels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R5yMmGQVzFD1XVDyZe42KG
Pig, cow, mooshroom, sheep (with its tinted wool layer), chicken, wolf (tame and angry skins, sitting), fox, polar bear, goat, llama, horse and donkey use Java's model geometry and texture layouts, posed by their setupAnim; mooshrooms carry Java's mushrooms. Their painted looks carry over, and a resource pack's textures/entity images replace them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R5yMmGQVzFD1XVDyZe42KG
Checked every model against the LayerDefinitions 1.20.1 builds: quadruped legs share one unmirrored texture, the goat's ears are 3 wide and its goatee mirrored, and armor legs are inflated 0.1 less than the rest (HumanoidArmorModel). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R5yMmGQVzFD1XVDyZe42KG
eklonofficial
force-pushed
the
blockhaven-mobs-animals
branch
from
October 3, 2026 14:16
166acd2 to
4bc15bd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the third batch of mobs on Java 1.20.1's own models: the farm and wild animals.
Builds on #70 (and #69, #68). Until those merge, this PR also shows their commits; only the last commit is new.
Models (
entity/animals.js, new)PigModel(QuadrupedModel, 6-tall legs, snout)pig/pigCowModel(horns, udder, mirrored left legs)cow/cow,cow/red_mooshroomSheepModel+SheepFurModel(wool 1.75 px out, tinted by colour, gone when sheared)sheep/sheep,sheep/sheep_furChickenModel(beak, wattle, wings, thin legs)chickenWolfModel(head in a turning holder, mane, tail)wolf/wolf,wolf_tame,wolf_angryFoxModel(48×32)fox/foxPolarBearModel(128×64)bear/polarbearGoatModel(horns, goatee, angled nose)goat/goatLlamaModel(128×64)llama/creamyHorseModel/DonkeyModel(neck holding head, mouth and mane; donkey's long ears)horse/horse_brown,horse/donkeyMushroomCowMushroomLayerplaces them, two on the back and one following the head.Poses
QuadrupedModel.setupAnim: head look, and legs swinging in diagonal pairs.ChickenRenderer.getBob).WolfModel):WolfRenderer).Testing
tests/animals.test.mjs(new) checks:node --test: 133 pass.tools/pack-from-jar.mjsfrom the official 1.20.1 jar (local only).🤖 Generated with Claude Code
https://claude.ai/code/session_01R5yMmGQVzFD1XVDyZe42KG