Skip to content

General information

Working area

By default the configuration is set to allow Pokémon to work within a radius of 8 blocks wide and 5 blocks high around the pasture block.

Working_area

Pokémon pathfind toward targets using standard vanilla minecraft movement. They only update their path every short interval, so movement may appear slightly delayed or corrected mid-travel. If a Pokémon cannot find a clear path or becomes stuck, it will eventually give up its claim and re-evaluate available tasks.

Pokémon interact with blocks or inventories when their hitbox intersects a small area around the target. They do not need to stand exactly on the block, only close enough for interaction.

Target claiming and prioritization

When a block becomes eligible for a job, nearby Pokémon attempt to claim it. Only one Pokémon can hold a claim at a time. Claims expire automatically if the Pokémon takes too long to reach the target or abandons it for another task.

Blocks closest to the pasture block are evaluated first during job assignment. This can cause distant blocks to be handled later, especially if many closer targets exist. If a block was recently targeted and abandoned, it is temporarily deprioritized to prevent Pokémon from immediately re-claiming unreachable or obstructed blocks.

Player interaction targeting

Some jobs or behaviors involve targeting a specific player. Only one Pokémon may target a given player at a time. These targets also expire automatically to prevent lockups.

Area scanning

Pastures perform a deferred, multi-tick scan of the surrounding area. Scanning runs in small batches each tick to avoid lag and will detect eligible job blocks based on the enabled jobs.

Search area and number of blocks scanned per tick are configurable. After a full scan completes, the pasture waits for a cooldown before scanning again to avoid unnecessary work.

Inventory selection

When depositing items, Pokémon always attempt the closest valid inventory to the pasture block. If an inventory is full or cannot accept the items, the Pokémon marks it as a failed location and tries the next closest. If no inventories can accept the items, they are dropped on the ground.

NOTE

Currently only vanilla minecraft inventories (chests, trapped chests, barrels) and cobblemon gilded chests are supported.