Paint the Path

Paint your animals and pastures to keep herds where they belong! PathPaint makes mobs strongly prefer wandering on matching-colored blocks, preventing them from endlessly bunching against fences.
Back to Files

pathpaint-0.1.0-mc26.2.jar

File namepathpaint-0.1.0-mc26.2.jar
Uploaded
Aug 24, 2026
Downloads
19
Size
58.4 KB
Mod Loaders
Fabric
File ID
8722050
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:paint-the-path-1666203:8722050"

Learn more about Curse Maven

What's new

Changelog

All notable changes to PathPaint are listed here.

0.1.0

First release.

What it does

Minecraft's animals love to wander off and pile up against a fence trying to reach something outside their pen. PathPaint fixes that: you colour your animals and colour the ground you want them to stay on, and those animals will prefer to wander only on their matching ground.

The Path Brush

  • Get one with /give @s pathpaint:path_brush (it's a one-off tool, not consumed).
  • Paint by holding down right-click and sweeping your crosshair over animals and over the ground. Whatever you point at is painted the brush's current colour.
  • Erase by holding Sneak while you sweep — this clears the colour from animals or ground no matter which colour your brush is set to.
  • Change colour with the C key for the next colour (there's also an unbound "previous colour" key you can set in Controls). The brush shows its current colour in its name, and the paint on the bristles changes to match.

Colours and herds

  • 16 colours to work with, so you can keep several herds apart — blue cows on the blue ground, yellow pigs on the yellow ground, and so on.
  • Ground can hold more than one colour at once (up to the four most recent). A block with several colours is shown split into equal parts so you can see the overlap at a glance.

Seeing your work

  • While you're holding the Path Brush, painted ground lights up with its colour and painted animals are tinted their colour, so you can see exactly what's assigned. Put the brush away and everything looks normal again.
  • How far away this colouring shows is up to you — see config/pathpaint.json and change revealDistance (default 200 blocks), then restart the game.

Good behaviour

  • The colouring is a strong preference, not a cage: scared animals still run, animals still breed, and you can still lead them with food. When nothing else is pulling them, they drift back to their colour.
  • Breaking a painted block clears its colour automatically, so animals never get stuck trying to reach ground that's no longer there.

Requirements

  • Minecraft 26.2 or 26.3 (a separate build for each), Fabric Loader, and Fabric API.

This mod has no related projects