Ranching Dispensers
Run your animal farm with redstone.
In vanilla, dispensers cannot feed, breed or milk animals, so every farm still needs you to do it by hand. Ranching Dispensers turns ordinary vanilla dispensers into ranching tools for cows, mooshrooms, sheep, pigs, chickens, rabbits and goats: load the right food, empty buckets or bowls, then send a redstone pulse.
Features
- Feed adults. Ready animals enter vanilla love mode with normal cooldowns and hearts.
- Grow babies. Food speeds up baby growth the same way hand feeding does.
- Milk animals. Empty buckets milk adult cows, mooshrooms and goats.
- Collect stew. Bowls collect mushroom stew from adult mooshrooms, or suspicious stew with its prepared effects from a brown mooshroom.
- Keep unused supplies. Food, buckets and bowls stay in the dispenser when no animal can use them.
- Server-side only. Vanilla clients can join, and no new blocks or items are added.
How it works
Point a vanilla dispenser at the block containing your animals and give it a redstone pulse. All six facing directions work. Only animals overlapping the single block in front of the dispenser can be selected, and the nearest eligible animal is chosen.
- Each pulse uses one item and affects one animal. The dispenser still picks a random nonempty slot, like vanilla.
- Foods follow Minecraft's animal food tags, including data pack changes. Defaults: wheat for cows, mooshrooms, sheep and goats; carrots, potatoes or beetroot for pigs; seeds for chickens; carrots, golden carrots or dandelions for rabbits.
- Babies gain about 10% of their remaining growth time per meal, like vanilla hand feeding.
- An empty bucket first tries normal fluid pickup. If that fails, it milks a valid adult.
- Milk and stew go back into the dispenser, or drop in front of it when it is full. Hoppers keep working normally.
- Items with their own dispenser behavior, such as bone meal, shears, filled buckets and projectiles, keep it. Droppers are unchanged.
- Flowers for a brown mooshroom's suspicious stew must still be given by a player.
Better together
- Sheep Wool Regrowth: wheat from a dispenser restores a sheared adult sheep's wool before breeding, keeping its color. Detected automatically.
- Instant Breeding: its breeding cooldown changes also apply to animals fed by dispensers.
Both mods are optional. Ranching Dispensers works fine on its own.
Versions
| Minecraft | Loader | Requires | File |
|---|---|---|---|
| 26.3 | NeoForge 26.3.0.0-beta+ (stable 26.3.0.76+) | Java 25 | ranchingdispensers-neoforge-26.3-1.0.0.jar |
| 26.3 | Forge 66.0.0+ | Java 25 | ranchingdispensers-forge-26.3-1.0.0.jar |
| 26.3 | Fabric Loader 0.19.3+ | Fabric API 0.160.5+, Java 25 | ranchingdispensers-fabric-26.3-1.0.0.jar |
| 26.2 | NeoForge 26.2.0.0-beta+ (stable 26.2.0.57+) | Java 25 | ranchingdispensers-neoforge-26.2-1.0.0.jar |
| 26.2 | Forge 65.0.0+ | Java 25 | ranchingdispensers-forge-26.2-1.0.0.jar |
| 26.2 | Fabric Loader 0.18.4+ | Fabric API 0.152.1+, Java 25 | ranchingdispensers-fabric-26.2-1.0.0.jar |
| 26.1 - 26.1.2 | NeoForge 26.1.0.1-beta+ (stable 26.1.2.71+) | Java 25 | ranchingdispensers-neoforge-26.1-26.1.2-1.0.0.jar |
| 26.1 - 26.1.2 | Forge 62.0.0+ (62 = 26.1, 63 = 26.1.1, 64 = 26.1.2) | Java 25 | ranchingdispensers-forge-26.1-26.1.2-1.0.0.jar |
| 26.1 - 26.1.2 | Fabric Loader 0.18.4+ | Fabric API 0.144.0+, Java 25 | ranchingdispensers-fabric-26.1-26.1.2-1.0.0.jar |
| 1.21.11 | NeoForge 21.11.42+ | ranchingdispensers-neoforge-1.21.11-1.0.0.jar |
|
| 1.21.11 | Forge 61.0.1+ | ranchingdispensers-forge-1.21.11-1.0.0.jar |
|
| 1.21.11 | Fabric Loader 0.17.3+ | Fabric API 0.139.5+ | ranchingdispensers-fabric-1.21.11-1.0.0.jar |
| 1.21.1 | NeoForge 21.1.1+ | ranchingdispensers-neoforge-1.21.1-1.0.0.jar |
|
| 1.21.1 | Forge 52.0.0+ | ranchingdispensers-forge-1.21.1-1.0.0.jar |
|
| 1.21.1 | Fabric Loader 0.15.11+ | Fabric API 0.102.0+ | ranchingdispensers-fabric-1.21.1-1.0.0.jar |
| 1.20.1 | Forge 47.1.0+ (also NeoForge 1.20.1) | ranchingdispensers-forge-1.20.1-1.0.0.jar |
|
| 1.20.1 | Fabric Loader 0.14.21+ | Fabric API 0.83.0+ | ranchingdispensers-fabric-1.20.1-1.0.0.jar |
The Fabric jar bundles NightConfig (core and toml, LGPL-3.0) to read the TOML config. NeoForge and Forge already ship it.
Client and server
Install the mod on the server only. It adds no items, blocks, entities, network messages or registries, so vanilla clients can join and see the usual particles, sounds and inventory updates. On Fabric, the server also needs Fabric API. Installing it on a client as well does no harm, and in singleplayer you install it in your own game.
Configuration
config/ranchingdispensers-server.toml is created with comments on the first server or world start:
enabled = true
feedAdults = true
feedBabies = true
milkAnimals = true
collectStew = true
enabled = falserestores all vanilla dispenser behavior; each other switch turns off one action.feedAdultsalso controls the optional wool regrowth.- Changes take effect after a server restart or reopening the singleplayer world.
- Mistakes do not crash the server: missing or invalid values use their defaults, and the file is never rewritten.
FAQ
What happens if I remove the mod? The world opens normally and dispensers go back to vanilla behavior. Grown animals, bred animals, regrown wool and collected milk or stew stay as ordinary vanilla state.
Can I change which foods work? Yes. Edit Minecraft's animal food tags with a data pack. Items with a special dispenser behavior keep it even if added to a food tag.
Does it work with Smart Dispensers or Carpet Extra? Maybe not. Mods that replace dispenser behavior may take priority or conflict.
Can I use it in my modpack? Yes, go ahead. The mod is licensed under MIT.
Links
- Source code: https://github.com/emberbocor/ranchingdispensers
- Bug reports and suggestions: https://github.com/emberbocor/ranchingdispensers/issues
When reporting a bug, please include your Minecraft version, loader, mod version and your log file.