From 4edf6db80959253756ddc76c52db4cfdff49758b Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Tue, 10 Nov 2026 20:17:07 +0600 Subject: [PATCH 1/2] Pet utility & upgrades: pet armor, pet backpack, pet beds and doghouses - 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 --- features.html | 2 +- index.html | 20 +++++ src/blocks.js | 6 ++ src/ideas.js | 1 + src/items.js | 27 +++++++ src/main.js | 79 ++++++++++++++++++-- src/mobs.js | 190 +++++++++++++++++++++++++++++++++++++++++++++--- src/petui.js | 138 +++++++++++++++++++++++++++++++++++ src/quests.js | 2 + src/textures.js | 15 ++++ src/together.js | 2 +- style.css | 13 ++++ sw.js | 3 +- tests/smoke.mjs | 31 ++++++++ 14 files changed, 508 insertions(+), 21 deletions(-) create mode 100644 src/petui.js diff --git a/features.html b/features.html index b17f395..3df61b0 100644 --- a/features.html +++ b/features.html @@ -99,7 +99,7 @@

📷 Photo Mode

Snap your builds, then add a frame, a filter, stickers and a caption, and save or share the picture. Photos stay on your device.

A cat called Luna wearing sunglasses and a dog called Toby in a party hat next to a firefly lantern and a frog

🐶 Friendly animals and pets

-

Pat, feed and shear animals, watch babies grow, and tame a dog or cat as your pet. Pets get name tags and can wear party hats, crowns and sunglasses. Frogs, butterflies and fireflies appear around your builds.

+

Pat, feed and shear animals, watch babies grow, and tame a dog or cat as your pet. Pets get name tags and can wear party hats, crowns and sunglasses. Later on, give them pet armor in three tiers, a backpack that holds 9 stacks of your things, and a pet bed or doghouse where they rest and get better. Frogs, butterflies and fireflies appear around your builds.

A flower garden next to rows of wheat growing from green to golden

🌾 Farming and gardens

Plant flowers, water your garden, grow wheat and bake bread. A watering can makes things bloom.

diff --git a/index.html b/index.html index 3bc7a83..776f560 100644 --- a/index.html +++ b/index.html @@ -296,6 +296,26 @@

Crafting

+ +