Mineuniverse
Mods
Animal Pens

Animal Pens

MOD
Reduce lag and keep your animals neatly stored while maintaining full interactivity!
by BONNe1704
Download Claim this project
4,974,304 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Farming Food Performance Server Utility Utility & QoL
Advertisement Remove ads with Premium →

🐾 Animal Pens Mod

✅ Optimize Your Farms & Reduce Lag!

Tired of lag caused by massive animal farms? Animal Pens lets you store animals in specialized pens, aquariums and aviaries while keeping full functionality!
No more overcrowded barns - keep your animals neatly contained while still breeding, shearing, milking, and collecting drops like normal.


🎮 How It Works:

✔️ Animal Cage & Container – Capture land animals with the Animal Cage and water creatures with the Animal Container.
✔️ Feeding animals acts as breeding – No need for free-roaming animals, just feed them inside their pen!
✔️ Most vanilla interactions(1) are possible, including:
    🗡️ Animal farming for loot
    ✂️ Shearing sheep
    🥛 Milking cows, mooshrooms, and goats
    🍄 Collecting mushroom stew from mooshrooms
    🐝 Bee pollen regeneration
    🐢 Turtle scutes dropping based on settings
    🖌️ Brush scutes from armadillo
    🧺 Water bucket to pick up fishes or axolotls

✔️ Custom Interactions:
🔹 Chickens, Turtles and Sniffers – Use a bucket to collect eggs.
🔹 Turtles – Drop scutes after feeding (configurable timing).
🔹 Sniffers – Require a bowl to drop seeds.
🔹 Fish Feeding – Fish eat kelp & seagrass, while other water creatures eat fish.
🔹 Frogs – Drop Frog Lights when fed a Magma Cube.

✔️ Variant Storage & Selection
    • Picking up an animal saves its variant inside the cage.
    • Right-click an empty-handed pen to view stored variants.
    • If visual animal growing is enabled, you can adjust the display size of the animals.     • You can adjust the minimal amount of animals that should be protected from killing.     • You can toggle if animal pen/aquarium should be interactable only by you.

✔️ Releasing animals by crouch clicking on ground.
✔️ Animal Pens, Aquariums and Aviaries can send Redstone signal with comparator.
✔️ Dispenser can be used on Animal Pens, Aquariums and Aviaries with certain tools.

(1) Features not added:
     Any animal transformation
     Any animal interaction with other entities


🔧 Customizable Settings:

Easily adjust gameplay with the mod’s configuration file [config/animal_pen_config.json], allowing you to tweak:

🗡️ Attack cooldown - Allows to change how fast players can kill animals in pen.

📏 Animal Growth System (Optional):
    • If enabled, more animals = larger pen display.
    • Adjustable growth multiplier.

🎨 Stored Variants – Allows to change how many variants can be stored per pen.

🚫 Blocked Animals List – Prevent specific mobs from being captured.


🔧 Data Driven Settings:

Added Three New Item Tags:

These tags define which items can attack their respective blocks:

  • animal_pen:can_attack_aquarium – Items in this tag can attack the Aquarium block.
  • animal_pen:can_attack_pen – Items in this tag can attack the Animal Pen block.
  • animal_pen:can_attack_aviary – Items in this tag can attack the Aviary block.

Example: Adding Custom Weapons

To allow custom_knife and modded_dagger to attack pens, create the following file in your datapack:

📂 For Minecraft 1.20.6 and Below:

Path: your_custom_datapack/data/animal_pen/tags/items/can_attack_pen.json

📂 For Minecraft 1.21 and Above:

Path: your_custom_datapack/data/animal_pen/tags/item/can_attack_pen.json

{
  "replace": false,
  "values": [
    "mod1_id:custom_knife",
    "mod2_id:modded_dagger"
  ]
}

This allows custom weapons to be used for attacking animal pens and aquariums.

Added Three New Entity Tags:

These tags define which items can attack their respective blocks:

  • animal_pen:animal_cage_pickable – Mobs that can be picked up by Animal Cage.
  • animal_pen:bird_catcher_pickable – Mobs that can be picked up by Bird Catcher.
  • animal_pen:water_mob_container_pickable – Mobs that can be picked up by Water Animal Container.

📂 For Minecraft 1.20.6 and Below:

Path: <your_custom_datapack>/data/animal_pen/tags/entity_types/animal_cage_pickable.json

📂 For Minecraft 1.21 and Above:

Path: <your_custom_datapack>/data/animal_pen/tags/entity_type/animal_cage_pickable.json

Customizable Interaction

You can also add or change interactions each animal. You can do it with data packs. To add animal interaction you need to create a file: <your_custom_datapack>/data/<your_data_pack_id>/animal_interactions/<your_interaction>.json To change animal interaction you need to change animal file: <your_custom_datapack>/data/minecraft/animal_interactions/<entity_id>.json

The interaction definition you can check at: Wiki

Default Data Packs

Already made Expansions


📜 Commands:

Use these commands (server moderators) to manage the mod:

💾 /animal_pen reset – Resets the config file to default values.
🔄 /animal_pen reload – Reloads the config file without restarting the game.


🛠️ Requirements:

📌 Architectury API (Required till 1.21.11).
📖 Patchouli (Optional, adds an in-game guidebook).
🛠️ ClothConfigAPI (Optional, adds config editing GUI).


🎨 Mod Artwork:

Credit to Breadcrumb5550 for the mod’s blocks and items!


With Animal Pens, you can **reduce lag, keep your farms organized, and maintain full interactivity!

Feel free to use this mod in your modpacks.**

animal_pen-fabric-1.21.6-2.5.1
MC Client, Fabric, 1.21.8, 1.21.6, 1.21.7, Server
Release 2026-10-06 Get
animal_pen-neoforge-1.21.6-2.5.1
MC Client, 1.21.8, 1.21.6, 1.21.7, NeoForge, Server
Release 2026-10-06 Get
animal_pen-fabric-1.21.9-2.5.1
MC Client, Fabric, Server, 1.21.9, 1.21.10
Release 2026-10-06 Get
animal_pen-neoforge-1.21.9-2.5.1
MC Client, NeoForge, Server, 1.21.9, 1.21.10
Release 2026-10-06 Get
animal_pen-fabric-1.21.11-2.5.1
MC Client, Fabric, Server, 1.21.11
Release 2026-10-06 Get
animal_pen-neoforge-1.21.11-2.5.1
MC Client, NeoForge, Server, 1.21.11
Release 2026-10-06 Get
animal_pen-fabric-26.1-2.5.1
MC Client, Fabric, Server, 26.1, 26.1.1, 26.1.2
Release 2026-10-06 Get
animal_pen-neoforge-26.1-2.5.1
MC Client, NeoForge, Server, 26.1, 26.1.1, 26.1.2
Release 2026-10-06 Get
animal_pen-fabric-26.2-2.5.1
MC Client, Fabric, Server, 26.2
Release 2026-10-06 Get
animal_pen-neoforge-26.2-2.5.1
MC Client, NeoForge, Server, 26.2
Release 2026-10-06 Get
animal_pen-neoforge-26.3-2.5.1
MC Client, NeoForge, Server, 26.3
Release 2026-10-06 Get
animal_pen-fabric-26.3-2.5.1
MC Client, Fabric, Server, 26.3
Release 2026-10-06 Get
animal_pen-fabric-1.18.2-2.5.0
MC Client, Fabric, 1.18.2, Server
Release 2026-10-05 Get
animal_pen-forge-1.18.2-2.5.0
MC Client, Forge, 1.18.2, Server
Release 2026-10-05 Get
animal_pen-fabric-1.19-2.5.0
MC Client, Fabric, Server, 1.19
Release 2026-10-05 Get
animal_pen-forge-1.19-2.5.0
MC Client, Forge, Server, 1.19
Release 2026-10-05 Get
animal_pen-fabric-1.19.1-2.5.0
MC Client, Fabric, 1.19.1, 1.19.2, Server
Release 2026-10-05 Get
animal_pen-forge-1.19.1-2.5.0
MC Client, Forge, 1.19.1, 1.19.2, Server
Release 2026-10-05 Get
animal_pen-fabric-1.19.3-2.5.0
MC Client, 1.19.3, Fabric, Server
Release 2026-10-05 Get
animal_pen-forge-1.19.3-2.5.0
MC Client, 1.19.3, Forge, Server
Release 2026-10-05 Get
animal_pen-fabric-1.19.4-2.5.0
MC Client, 1.19.4, Fabric, Server
Release 2026-10-05 Get
animal_pen-forge-1.19.4-2.5.0
MC Client, 1.19.4, Forge, Server
Release 2026-10-05 Get
animal_pen-fabric-1.20-2.5.0
MC Client, Fabric, 1.20.1, 1.20, Server
Release 2026-10-05 Get
animal_pen-forge-1.20-2.5.0
MC Client, 1.20.1, Forge, 1.20, Server
Release 2026-10-05 Get
animal_pen-fabric-1.20.2-2.5.0
MC Client, 1.20.2, Fabric, Server
Release 2026-10-05 Get
animal_pen-forge-1.20.2-2.5.0
MC Client, 1.20.2, Forge, Server
Release 2026-10-05 Get
animal_pen-fabric-1.20.4-2.5.0
MC Client, Fabric, 1.20.4, 1.20.3, Server
Release 2026-10-05 Get
animal_pen-fabric-1.20.6-2.5.0
MC Client, Fabric, 1.20.5, 1.20.6, Server
Release 2026-10-05 Get
animal_pen-neoforge-1.20.6-2.5.0
MC Client, 1.20.5, 1.20.6, NeoForge, Server
Release 2026-10-05 Get
animal_pen-fabric-1.21-2.5.0
MC 1.21, Client, Fabric, 1.21.1, Server
Release 2026-10-05 Get
animal_pen-neoforge-1.21-2.5.0
MC 1.21, Client, 1.21.1, NeoForge, Server
Release 2026-10-05 Get
animal_pen-fabric-1.21.2-2.5.0
MC Client, Fabric, 1.21.3, Server, 1.21.2
Release 2026-10-05 Get
animal_pen-neoforge-1.21.2-2.5.0
MC Client, 1.21.3, NeoForge, Server, 1.21.2
Release 2026-10-05 Get
animal_pen-fabric-1.21.4-2.5.0
MC Client, Fabric, 1.21.4, Server
Release 2026-10-05 Get
animal_pen-neoforge-1.21.4-2.5.0
MC Client, 1.21.4, NeoForge, Server
Release 2026-10-05 Get
animal_pen-fabric-1.21.5-2.5.0
MC Client, Fabric, 1.21.5, Server
Release 2026-10-05 Get
animal_pen-neoforge-1.21.5-2.5.0
MC Client, 1.21.5, NeoForge, Server
Release 2026-10-05 Get
animal_pen-forge-1.20.4-2.5.0
MC Client, Forge, 1.20.4, 1.20.3, Server
Release 2026-10-05 Get
animal_pen-fabric-1.18.2-2.4.3
MC Fabric, 1.18.2
Release 2026-06-29 Get
animal_pen-forge-1.18.2-2.4.3
MC Forge, 1.18.2
Release 2026-06-29 Get
animal_pen-fabric-1.19-2.4.3
MC Fabric, 1.19
Release 2026-06-29 Get
animal_pen-forge-1.19-2.4.3
MC Forge, 1.19
Release 2026-06-29 Get
animal_pen-fabric-1.19.1-2.4.3
MC Fabric, 1.19.1, 1.19.2
Release 2026-06-29 Get
animal_pen-forge-1.19.1-2.4.3
MC Forge, 1.19.1, 1.19.2
Release 2026-06-29 Get
animal_pen-fabric-1.19.3-2.4.3
MC 1.19.3, Fabric
Release 2026-06-29 Get
animal_pen-forge-1.19.3-2.4.3
MC 1.19.3, Forge
Release 2026-06-29 Get
animal_pen-fabric-1.19.4-2.4.3
MC 1.19.4, Fabric
Release 2026-06-29 Get
animal_pen-forge-1.19.4-2.4.3
MC 1.19.4, Forge
Release 2026-06-29 Get
animal_pen-fabric-1.20-2.4.3
MC Fabric, 1.20.1, 1.20
Release 2026-06-29 Get
animal_pen-forge-1.20-2.4.3
MC 1.20.1, Forge, 1.20
Release 2026-06-29 Get

More from BONNe1704

Advertisement Remove ads with Premium →

You Might Also Like