AnimalCare v1.1.0
Now you have to care for every animal: keepers who lock mobs in tiny pens will watch them starve—AnimalCare makes you feed and house your livestock properly, rewarding open pastures and stocked trough barrels while punishing neglected cages.
=== Feature Overview ===
=== Configuration Snapshot ===
pen:
detection-radius: 15
min-pen-size-xz: 12
max-vertical-delta: 4
hunger:
captive-loss: 6
pasture-change: -1
effects:
low-threshold: 30
trough:
name-tag: "[Trough]"
max-feed-per-cycle: 4
=== Usage ===
=== Version Highlights ===
=== Compatibility & Requirements ===
=== Build & Installation ===
=== Support & Feedback ===
Now you have to care for every animal: keepers who lock mobs in tiny pens will watch them starve—AnimalCare makes you feed and house your livestock properly, rewarding open pastures and stocked trough barrels while punishing neglected cages.
=== Feature Overview ===
- Automatically maps nearby pens and classifies animals as WILD, PASTURE, or CAPTIVE by flood-filling open walkable space (default radius: 15 blocks, adjustable vertical tolerance).
- Tracks hunger (0–100) for every supported animal via the PersistentDataContainer with configurable loss/regeneration rates, starvation damage at 0, and breeding locks until animals are fully fed.
- Supports manual feeding, hopper loading, and trough automation that only affects configured entities, keeping villagers and NPCs untouched.
- Recognises renamed barrels as [Trough], links double-barrel trough pairs, keeps lids open while stocked, and consumes just enough feed based on per-item energy values.
- Ships with bilingual (EN/DE) default messages, an optional debug sword for live diagnostics, and a GitHub Actions workflow that builds on every push or pull request.
=== Configuration Snapshot ===
Code (Text):
pen:
detection-radius: 15
min-pen-size-xz: 12
max-vertical-delta: 4
hunger:
captive-loss: 6
pasture-change: -1
effects:
low-threshold: 30
trough:
name-tag: "[Trough]"
max-feed-per-cycle: 4
- Place or rename a barrel to "[Trough]" (double-barrel setups are linked automatically) and stock it with approved feed (wheat, seeds, carrots, potatoes, beetroot, or any item with configured energy).
- Right-click the trough to add more food; the automation loop feeds nearby penned animals and updates barrel inventories immediately.
- Small enclosures count as CAPTIVE and drain hunger faster, large pastures become PASTURE, and animals outside any pen remain WILD at 100 hunger.
- Enable the optional debug sword in `config.yml` to inspect trough status, detected animals, and next feed cycles in-game.
=== Version Highlights ===
- v1.1.0 introduces automatic double-barrel trough pairing with live lid animation, reliable hopper/manual feeding triggers, and visible inventory syncing after every cycle.
- Adds wheat seeds as valid feed, honours configured per-item energy so animals eat precisely what they need, and treats every item with an energy value as trough stock.
- Hunger processing now filters for explicitly configured entities, and pen detection accepts legacy `GRASS` while defaulting to modern blocks to avoid startup warnings.
- Existing servers automatically back-fill new configuration keys during upgrades, preserving custom values.
=== Compatibility & Requirements ===
- Spigot or Paper 1.20+.
- Requires access to the PersistentDataContainer API.
- No external databases required.
=== Build & Installation ===
- Run
to build the plugin (GitHub Actions mirrors this on every push/PR).Code (Text):mvn -B package
- Copy the generated jar from target/ into your server's plugins folder, then restart or use /reload.
=== Support & Feedback ===
- Report bugs and feature requests via GitHub Issues, including logs, Spigot/Paper version, and configuration excerpts for faster assistance.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
AnimalCare [1.20 - 1.21.x] is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 40 times (via Spigot). Download it and open it directly in the game.