Simple Animal pens
A simple datapack that allows to store many animals in one block to reduce lag on the server. also available as datapack
I don't know my version or loader





This project updated first on modrinth - check it for more info and new versions.
Simple Animal Pens is a datapack that let players store infinte amounts of mobs in a single block. The pack strive to full support of all vanilla features as well as compatibility with other packs (and even mods in some cases).
Please report bugs on this project github page or my discord server
Fabric loader requires fabric API
Support Ponder lib
Uses Smithed conventions for compatability
items:
- Animal jar.
the animal jar let you collect and store the animals into it.
- Animal pen.
the pen is block that let you place the jar in the world. in order to do that first collect some animals in your jar then right click on empty pen
Commands:
Give jar:
loot give @p loot sap:animal_jar
Give pen:
loot give @p loot sap:animal_pen
Changing pack settings:
dialog show @s sap:settings
Technical details to modifiy the pack behavior :
{
"replace": false,
"values": [
"minecraft:cow",
"minecraft:pig",
"minecraft:sheep",
"minecraft:chicken",
"minecraft:turtle",
"minecraft:bee",
"minecraft:rabbit"
]
}
### 2-adding right click functions create new item tag inside sap named `used_on_ENTITY` and specify what items can be used on this mob then create new function named `interact_with_ENTITY` in
sap:click_functions/loot/
inside the function you can run whatever you want. you can split the function into 2 or more if you want more than 1 click function or diffrent tools the default file for bee looks like that
execute if items entity @p[tag=this] weapon.mainhand *[minecraft:custom_data~{smithed:{ignore:{functionality:1b}}}] run return fail
scoreboard players set @s sap.function_cooldown 12000
scoreboard players operation @s sap.function_cooldown -= @s sap.entity_count
scoreboard players add @s sap.function_cooldown 100
execute as @p[tag=this] run function sap:click_functions/loot/specific/collect_honey
inside the specific function you can add sounds,clear items,give items,particals etc ### 3-breeding to add viable food for breeding create(or use the vanila one) item tag under the MINECRAFT namespace called `ENTITY_food` ### 4-Tool for breaking tool needed to break the farm controlled by the item tag sap:tool_to_break ### 5-Tool for killing tool needed to kill entity in the farm controlled by the item tag sap:tool_to_kill- Ships as simple-animal-pens-1.1.2.jar — drop this file into the mods folder
- Download size: 480 KB
- Download link checked 22 Aug 2026 — working
These come from our own check of the pack file, not from the source page.