Skip to content

Pet utility & upgrades: armor, backpack, beds and doghouses - #42

Merged
maidulcu merged 2 commits into
mainfrom
claude/pet-upgrades-494f5d
Nov 10, 2026
Merged

maidulcu merged 2 commits into
mainfrom
claude/pet-upgrades-494f5d

Conversation

@maidulcu

Copy link
Copy Markdown
Contributor

What's new

Tamed dogs and cats stay useful late in the game.

  • Pet armor (3 tiers, all craftable): Cozy Pet Coat (blocks 25%), Iron Pet Armor (50%), Starlight Pet Armor (75%). Right-click your tamed pet while holding one. It shows on the pet's model, a new one swaps the old one back into your inventory, and it can be taken off in the pet panel.
  • Pet backpack: craft it and right-click your pet. The pet gets 9 slots. Right-click a pet that wears armor or a backpack to open the new pet panel (same click-to-pick-up style as crafting, with a ✕ and Done for phones). The contents are saved with the world and survive teleports. A pet that falls into the void is brought back to you with its backpack. Taking the backpack off hands everything back (it asks you to make room first).
  • Pet Bed (flat cushion) and Doghouse blocks. Tell a pet to sit near one (within 8 blocks) and it walks over. Pets resting by a bed or doghouse heal about 15x faster.
  • Health: pets now have 6 hearts that regenerate slowly. Adventure night creatures can bump pets. Pets never die: at 0 hearts they take a nap, waking up at their bed if they have one, or beside you.
  • Two quests (Pet Gear, Cosy Corner), a daily idea, recipes, and features.html updated. sw.js is now v30 and src/petui.js is in CORE.

Compatibility

  • Old saves load unchanged. The new fields are optional (arm, bag, bed, hp).
  • Play Together: guests see the host's pet armor and backpack, and can put gear on pets. Backpack contents stay host-only. The relay needs no change.

Try it

  1. Creative: open the picker, go to the Friends tab, and take a Pet Backpack, Pet Armor, Pet Bed and Doghouse.
  2. Tame a dog, then right-click it holding armor. Next try the backpack, then right-click the pet again to open its panel.
  3. Place a Pet Bed, stand near it and right-click the pet (holding nothing special). It trots over and rests.
  4. In Survival, craft with: Cozy Coat = 3 blue + 2 white wool; Iron = 5 iron ingots (table); Starlight = 2 diamonds + 3 gold + a Hidden Star (table); Backpack = 3 red wool + iron + 2 sticks (table); Bed = 2 red wool + 2 planks; Doghouse = 6 planks + red wool (table).

Tests

SMOKE_CHANNEL=chrome node tests/smoke.mjs passes. It has a new pet check (armor cuts damage, backpack survives save and teleport, old saves load, bed walk and rest, faint). I also checked the panel in the browser pane at desktop and phone width (it fits with no sideways scroll). I did not test touch on a real device. Nothing is deployed.

🤖 Generated with Claude Code

maidul-devops and others added 2 commits November 10, 2026 20:17
- Pet armor in 3 tiers (Cozy Pet Coat, Iron, Starlight): right-click a pet holding it; cuts damage, shows on the model, can be taken off.
- Pet Backpack: 9 slots, opened with a new pet panel (works on touch); contents are saved and never lost when a pet teleports.
- Pet Bed and Doghouse blocks: tell a pet to sit near one and it walks over; resting there heals it. Pets never die: at 0 hearts they nap at their bed.
- Adventure night creatures can now bump pets.
- Saves are backward compatible; Play Together guests see armor and backpack, and can equip them.
- Recipes, two quests, an idea, features.html, smoke test, sw.js v30.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@maidulcu
maidulcu merged commit 1cd54bc into main Nov 10, 2026
1 check passed
@maidulcu
maidulcu deleted the claude/pet-upgrades-494f5d branch November 10, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants