Download The Flattening — Minecraft Mods — MetaMods
The Flattening

The Flattening

Active

Downloads

0

Last update

1 year ago

Versions

1.21
Server
Fabric
Neoforge
Game mechanics
Libraries
Utils

The Flattening

The Flattening mod provides a convenient solution for adding custom anvil flattening recipes through datapacks and other mods. This simple addon works on NeoForge and Fabric platforms via Architectury, requiring no client-side modifications.

To better understand how it works, watch this demonstration video:

Recipe Examples in JSON Format

Block Transformation

{
  "type":"the_flattening:flattening",
  "input":{
    "id":"minecraft:copper_block"
  },
  "output":{
    "id":"minecraft:copper_trapdoor",
    "count":12
  }
}

Block Recipe Structure

type: "the_flattening:flattening" [required parameter, as shown]
input: {
  id: [Item ID as string, must reference a block, required]
}
output: {
  id: [Item ID as string, required]
  count: [integer, optional, defaults to 1]
}

Entity Transformation (version 1.0.1+)

{
  "type":"the_flattening:entity_flattening",
  "input":"minecraft:cow",
  "output":{
    "id":"minecraft:milk_bucket"
  },
  "shouldDropEntityLoot": true,
  "shouldDropXp": true
}

Entity Recipe Structure (version 1.0.1+)

type: "the_flattening:entity_flattening" [required parameter, as shown]
input: [Entity type ID as string, required]
output: {
  id: [Item ID as string, required]
  count: [integer, optional, defaults to 1]
}
shouldDropEntityLoot: [boolean, optional, defaults to false]
shouldDropXp: [boolean, optional, defaults to false]
Project members
kd8lvt

kd8lvt

Developer

Created: 16 Jul 2024

ID: 25789