Back to mods
Simple Animal pens project artwork

CurseForge · Minecraft mod

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Simple Animal pens release should I use?

Updated 25 days ago
Latest stable file simple-animal-pens-1.2.1.jar
Game version 26.3
Loader Fabric, Forge, NeoForge

Simple Animal pens simple-animal-pens-1.2.1.jar targets 26.3 with Fabric, Forge, NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Simple Animal pens required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric, Forge, NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Simple Animal pens simple-animal-pens-1.2.1.jar need?

simple-animal-pens-1.2.1.jar. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Simple Animal pens simple-animal-pens-1.2.1.jar
required
Matching file found Matched file: [26.3] Fabric API 0.166.2+26.3

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Simple Animal pens without breaking your instance.

Built for Simple Animal pens simple-animal-pens-1.2.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use simple-animal-pens-1.2.1.jar. It targets 26.3 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside simple-animal-pens-1.2.1.jar. It opens that exact file at the source.

About this project

What does Simple Animal pens add?

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 :

If you want to add support for new mobs that not supported by default, this section will guide you keep in mind you must use the same namespaces for it to work. > NOTE : when you see ENTITY inside function or tag you need to put the entity name without the namespace instead e.g. "minecraft:cow" -> "cow" ## 1-adding mob adding the mob into the entity tag #sap:fit_in_jar you can edit the whole tag if you want to remove animal, or you can just addon top of it with replace : false

  {
    "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

Project description from CurseForge.

Pick your setup

Simple Animal pens by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

48 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Simple Animal pens versions and loaders

4 of 4 releases match

Looking for an older file? The official CurseForge project page is in Resources.