Simple Animal Pens

Simple Animal Pens

A simple datapack that allows to store many animals in one block to reduce lag on the server

von
1.1K Downloads
datapackfabricforgeneoforgequiltmobsstorageutility
Server mit dieser Mod mieten

Screenshots

Title
Pen recipe
Jar recipe

Über diese Mod

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

Verfügbare Versionen

mod v1.1.2release
MC 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2fabric, forge, neoforge, quilt
24. Juli 2026
dp+rp v1.1.2release
MC 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2datapack
24. Juli 2026
mod v1.0.0release
MC 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2fabric, forge, neoforge, quilt
12. Dezember 2025
dp+rp v1.0release
MC 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2datapack
11. Dezember 2025

Simple Animal Pens auf dem Server installieren

1

Server bestellen

Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).

2

datapack Loader setzen

Wähle im Panel unter "Egg" den datapack-Loader und die passende Minecraft-Version (26.2).

3

Mod installieren

Öffne den Mod-Browser im Dashboard und suche nach "Simple Animal Pens". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.

Kompatibilität

Mod-Loader

datapackfabricforgeneoforgequilt

Minecraft-Versionen

26.2, 26.1.2, 26.1.1 (+8 weitere)

Server-seitig

Erforderlich

Empfohlener RAM

4 GB(min. 3 GB)

Häufige Fragen

Simple Animal Pens Server crasht beim Start – was tun?

Häufigste Ursache: falsche datapack-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (26.2). Über das Panel kannst du den Loader mit einem Klick wechseln.

Ist Simple Animal Pens mit datapack und fabric und forge und neoforge und quilt kompatibel?

Simple Animal Pens unterstützt offiziell datapack, fabric, forge, neoforge, quilt für Minecraft 26.2, 26.1.2, 26.1.1. Achtung: Forge- und Fabric-Mods sind NICHT untereinander kompatibel – wähle einen Loader und bleibe dabei. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.

Server laggt mit Simple Animal Pens – wie optimiere ich die Performance?

Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob Simple Animal Pens den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.

Modded Server mieten

Installiere Simple Animal Pens mit nur einem Klick auf deinem Server.

Empfohlener RAM
4 GBab €5.2/Monat
Min. 3 GB | +1 GB pro 8 Spieler
Jetzt Server erstellen
1-Klick Mod Installation
NVMe SSD Speicher
DDoS-Schutz inklusive

Details

Lizenz
MIT License
Server-seitig
Erforderlich

Unterstützte Versionen

26.226.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.6+1 mehr