
The Flattening
Simple vanilla-client-friendly mod to add anvil-flattening recipes via datapack.
Screenshots

About this Mod
The Flattening is a very simple NeoForge/Fabric Architectury mod that allows datapacks (and other mods) to easily add in-world anvil flattening recipes.
Video, because it's hard to explain:
Recipe JSON Examples
Block Flattening:
{
"type":"the_flattening:flattening",
"input":{
"id":"minecraft:copper_block"
},
"output":{
"id":"minecraft:copper_trapdoor",
"count":12
}
}
Block Flattening Schema:
type: "the_flattening:flattening" [required as shown]
input: {
id: [Item ID String, must refer to a block, required]
}
output: {
id: [Item ID String, required]
count: [Integer, Optional, defaults to 1]
}
Entity Flattening [1.0.1+]:
{
"type":"the_flattening:entity_flattening",
"input":"minecraft:cow",
"output":{
"id":"minecraft:milk_bucket"
},
"shouldDropEntityLoot": true,
"shouldDropXp": true
}
Entity Flattening Schema [1.0.1+]:
type: "the_flattening:entity_flattening" [required as shown]
input: [Entity Type ID String, required]
output: {
id: [Item ID String, required]
count: [Integer, Optional, defaults to 1]
}
shouldDropEntityLoot: [Boolean, Optional, defaults to false]
shouldDropXp: [Boolean, Optional, defaults to false]
Available Versions
How to Install The Flattening on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21).
Install Mod
Open the mod browser in the dashboard and search for "The Flattening". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
The Flattening server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21). You can switch loaders with one click in the panel.
Is The Flattening compatible with fabric and neoforge?
The Flattening officially supports fabric, neoforge for Minecraft 1.21. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with The Flattening – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if The Flattening consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install The Flattening with just one click on your server.