morphsofpkg-1.0.8
Curse Maven Snippet
What's new
Morph of PKG 1.0.8 — a first-person hand for every creature, and speeds that match how it really walks
A hand where there used to be nothing. Morphs of creatures with no arm at all showed an empty screen in first person: cows, horses, sheep, pigs, wolves, cats, foxes, goats, llamas, bears, chickens, parrots, bees, bats, dolphins and the other fish, tadpoles, slimes, magma cubes, ghasts, shulkers and the wither. Each now shows its own front leg, wing, fin, tentacle, tail or body cube — picked from that creature's own model parts and measured so it matches a human arm. Four-legged animals use the front leg; where two legs share a single model part, the cubes are split by side. Creatures drawn by GeckoLib/AzureLib expose no model parts to read, so those morphs still show no hand — a documented limit, not a regression, and a per-creature override can turn a hand back on.
Rule commands now live in the admin command. /morph hand … and /morph restrictions … moved to /morphadmin and require permission level 2: /morphadmin hand toggle, /morphadmin hand set <mob> <true|false> and /morphadmin restrictions set <mob> <restriction> <true|false>. /morph keeps only the everyday commands — transform, menu and clear — so its tab completion stays readable. The commands write the table of the player who runs them; the decision logic and network sync are unchanged.
Morph speed used a raw attribute, not the creature's real walking speed. Speed was copied straight from movement_speed, but for two groups that number is not how fast the creature actually walks:
- Turtles. A vanilla turtle halves its own land speed every tick, so its real pace settles at 0.08375 while the attribute reads 0.25. The morph used the attribute (plus a slow ability on top) → about 175% of a walking player. It is now ~84%, the turtle's true pace, and the separate slow ability was removed so the slow-down is not counted twice. The same class of error is fixed for axolotl, frog, tadpole and dolphin (250% → 100 / 100 / 100 / 120%).
- Creatures that never set a speed at all. The attribute default is 0.7, which pushed squid, cod, salmon, tropical fish, pufferfish, bat, ghast, shulker, vex and the vanilla ender dragon to the 2.5× ceiling even though they can barely move on land. They now use the player's own baseline (100%) instead of 250%.
Nothing else was touched. Walking creatures keep their own numbers (zombie, cow, chicken, cat, spider, rabbit, camel, sniffer and the rest) and no modded creature is affected — the fix covers proven vanilla ids only, so dragons, Mowzie's, Alex's Mobs and vehicle morphs keep their exact speed.
Stricter gates behind the build. A new numeric gate (42 checks) re-derives the turtle constant from the vanilla formula and asserts both the corrected ids and that the untouched ones (12 vanilla + 6 modded) pass through unchanged. The first-person hand gate now has four layers: a 120-check numeric table, 26 source-link patterns, 14 jar field/API verifications through javap, and the forward-direction measurement — plus a deliberate failure switch, so the gate is proven able to fail. Hand coverage is measured over all 77 vanilla model sources: no model is left without a hand path, and the command tree is checked to hold exactly one registration, under /morphadmin.
Client and server must run this same build. The network protocol is 17, so a server on an older jar and a client on this one will not connect.
Known limits (beta). The build environment has no Minecraft client, so the hand poses, the new offsets and the speed values were verified by vanilla source lines, the supported mods' own bytecode, the numeric gates and jar inspection — not by watching them in game. Give a few hand-less morphs a look in first person and report anything that sits wrong; the numbers behind each one can be pointed at directly.
This mod has no additional files