The Flattening

The Flattening

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

by
465 Downloads
fabricneoforgegame-mechanicslibraryutility
Rent Server with this Mod

Screenshots

Icon

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

neoforge-1.0.1release
MC 1.21neoforge
July 16, 2024
fabric-1.0.1release
MC 1.21fabric
July 16, 2024
neoforge-1.0.0release
MC 1.21neoforge
July 16, 2024
fabric-1.0.0release
MC 1.21fabric
July 16, 2024

How to Install The Flattening on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21).

3

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

fabricneoforge

Minecraft Versions

1.21

Server-side

Required

Recommended 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.

Rent Modded Server

Install The Flattening with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-Botania-License
Server-side
Required

Supported Versions

1.21