跳到正文

The Flattening

作者:kd8lvt

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

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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]

常见问题

The Flattening 支持哪些 Minecraft 版本?

The Flattening 支持 Minecraft Java 版 1.21,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

The Flattening 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

kd8lvt 的其他作品

查看全部 →