My Real Puppy Guides

My Real Puppy · Release 1.1.1

Yards And Toilets

Version 1.1.0

Enclosed yards

A dog’s home rod can identify an enclosed walkable yard made from fences, walls, house sides, closed gates and closed doors, including mixed boundaries. A rod one block below the ground with a dog bed directly above it is supported: the scan starts from a suitable walking surface above or beside the rod.

When an enclosure is confirmed, its complete discovered walking area replaces the circular home boundary for that dog. Dogs can roam and play throughout that area; large destinations are approached in local walking steps rather than teleporting. The circle and paid radius upgrades remain the fallback when no enclosure is confirmed. The home/menu label changes to “Home: enclosed yard” after detection.

Successful yard results stay cached until the server restarts or a linked rod is moved. Opening a gate, changing an ordinary block or breaking a fence does not invalidate a confirmed yard. The cached home boundary still limits roaming. Live pathfinding continues to respect actual walls and obstacles; the cache is not permission to walk through newly placed blocks. Explicit Call/Summon/Follow commands keep their existing behavior.

Moving a rod queues its owner’s yard information for a fresh scan. Other owners’ scans are not performed simultaneously. Rods in the same owner’s enclosure can share a completed area rather than flood-filling the same yard repeatedly. Each dog’s personal toilet area resets only when that dog’s home changes.

Keeping scanning light

The plugin processes one owner job globally at a time, yielding between owners and processing at most the configured cell budget each server tick. The default is 128 work cells per tick. There is no artificial yard-size cap by default. The scan uses only already-loaded chunks and never force-loads distant terrain.

A huge enclosure spanning unloaded chunks cannot be proved complete until the required area is loaded. Pending scans can retry when chunks load and periodically afterward. Until confirmed, the purchased circle remains in effect. An optional server cell limit rejects an incomplete scan rather than treating a cropped slice as the whole yard. An open boundary, world-border escape or empty drop edge is not accepted as a complete enclosure.

The scan follows ground surfaces with dog-sized clearance, ordinary steps and safe drops. It is not a claim to model every arbitrary modded/custom collision shape. Keep routes and gates wide enough for a Minecraft wolf, even if the visual dog model is larger. Current nighttime schedule, daily care amounts and play quotas are unchanged.

Each dog’s own toilet area

The first successful poop after installing this update records a personal center for that dog. Existing older piles do not choose the new center. Future poops must be within five blocks of that point, in the same world. The limit uses actual three-dimensional distance, so a steep height difference also counts.

Each dog has its own saved center. It survives server restarts and resets when that dog’s linked home is moved or removed. The next successful poop then chooses a new center. Picking up and replacing the rod resets that dog’s spot too.

All existing hygiene limits still apply: at least four horizontal blocks from every placed dog bed and bowl, at least two horizontal blocks from ground toys, and no existing poop pile at that exact ground area. The plugin checks again when the squat finishes, so a toy placed during the animation prevents an overlapping pile.

The yard-wide freedom chooses the first personal area. After that, each dog uses only its own five-block area. Keep dogs at home for their first post-update toilet trip if you want that area in the yard. If a dog is away on a walk, it cannot create a replacement toilet area elsewhere; it waits until it can reach a legal spot in its existing area. If no legal ground remains because of new beds, bowls, toys or obstacles, it waits and retries rather than breaking the rules.

Old piles still need cleaning, wherever they were left. A new personal center does not erase the existing cleanup penalty. If changing server settings leaves an established toilet area outside a fallback circle, move that dog’s home rod to reset the spot or re-enable/complete yard detection.

Toys and poop stay apart

Dogs keep the configured horizontal gap (two blocks by default) from ground toys, dropped custom-toy items and toy displays at ground level. They can put down a carried toy safely before choosing a toilet spot. Owned toy drops and returns—including bed placement—check for existing poop and choose nearby ground at least that same distance away instead. Dropped tug ropes and Fetch landing choices also use clean locations.

The same owned toy object is retained. If there is temporarily no clean drop location, it is not deleted; the owner can retrieve it through the dog and the system can retry a safe placement. A broken player-tug rope is left in hand if no clean drop can be found. This prevents item loss or deliberately dropping it in poop.

Configuration

Key Default Meaning
care.toy-poop-clearance 2.0 Toy/poop spacing in both directions; accepted 1–8 blocks
features.yards true Enclosed-yard detection and use as a home boundary
features.personal-toilets true Five-block persistent individual toilet areas
yards.cells-per-tick 128 Work budget for the single active owner job; accepted 8–2048
yards.max-cells 0 Optional per-enclosure safety cap; zero means no artificial cap

Restart after configuration changes. Turning off yards restores circular home checks. Turning off personal toilet areas releases only that five-block restriction; bed/bowl/toy hygiene rules remain. The existing care.poop-enabled switch still disables the poop system itself. No new resource pack is needed.

Nighttime route

Confirmed yards provide a cached boundary reference, including irregular/off-center homes. Each check chooses a varied set of inward walking stops, a cross-yard destination and a different direction from the previous check. Short ground/air sniffs and listening pauses interrupt the walk naturally. Narrow yards fall back to available boundary points, with varied starting points and pauses. The shared geometry job still processes at most 128 cached cells per behavior update without scanning blocks again. There are two inspections per night, rather than two exact laps per inspection. Each is bounded to about 90 seconds; successful timeout completion requires real movement and several visited stops. Failed/inaccessible attempts wait before retrying. Completely covered indoor areas are not outdoor patrol routes. Commands, care and real danger take priority.