Blockhaven: zombies and skeletons on Java's models, and a pack built from your own game - #69
Merged
eklonofficial merged 3 commits intoOct 3, 2026
Conversation
|
@k1519035 is attempting to deploy a commit to the Marin Team on Vercel. A member of the Team first needs to authorize it. |
k1519035
force-pushed
the
blockhaven-mobs-undead
branch
2 times, most recently
from
October 3, 2026 01:34
712a417 to
cd44298
Compare
…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
eklonofficial
force-pushed
the
blockhaven-mobs-undead
branch
from
October 3, 2026 14:16
cd44298 to
1ae268d
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 first batch of mobs on Java 1.20.1's own models, plus a way to test with the official textures without committing them.
Builds on #68 (Java's player model and
javaunwrap). Until #68 merges, this PR also shows its commits; only the last commit is new.Undead (zombie, husk, drowned, skeleton, stray, wither skeleton)
ZombieModel,DrownedModel,SkeletonModel), via a newmobHumanoid()inentity/humanoid.js.HumanoidModel.setupAnimplus each mob's own arms.animateZombieArms: held out, higher while hunting, chopping on a hit.entity/zombie/zombie,entity/skeleton/stray, ...), so a resource pack'stextures/entityreplaces the paint (readEntityTexture, scaled to 64 wide for HD packs).StrayClothingLayer, 0.25 px out) and the drowned's outer layer (DrownedOuterLayer) are drawn as Java does. They're clear unless the pack supplies them.Official textures without committing them:
tools/pack-from-jar.mjsnode docs/games/blockhaven/tools/pack-from-jar.mjsbuilds~/Downloads/blockhaven-vanilla-1.20.1.zipfrom the player's own installed client jar. It looks in the Minecraft launcher, the Modrinth App, Prism Launcher and CurseForge, and otherwise downloads the client from Mojang the way the launcher does.assets/minecraft/texturesand apack.mcmeta.Testing
tests/humanoid.test.mjsgains checks on the mob meshes (mirroring, the drowned's own limbs, skeleton limbs, texture names, outer layers), the zombie arm heights, and the skeleton's bow aim.node --test: 124 pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01R5yMmGQVzFD1XVDyZe42KG