Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
The Flattening

The Flattening

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

311
2
Game Mechanics
Library
Utility

Compatibility

Minecraft: Java Edition

1.21

Platforms

Fabric
NeoForge

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

kd8lvt
kd8lvt Member

Details

Licensed Botania License
Published last year
Updated last year
DescriptionGalleryChangelogVersions

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]

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.