扁平化

扁平化

简单的原版客户端友好模组,通过数据包添加铁砧压平配方。

游戏机制

The Flattening 是一个非常简单的 NeoForge/Fabric Architectury 模组,它允许数据包(以及其他模组)轻松添加世界内的铁砧压平配方。

视频,因为很难解释:

配方 JSON 示例

方块压平:

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

方块压平模式:

type: "the_flattening:flattening" [按要求必填]
input: {
  id: [物品 ID 字符串,必须指向一个方块,必填]
}
output: {
  id: [物品 ID 字符串,必填]
  count: [整数,可选,默认为 1]
}

实体压平 [1.0.1+]:

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

实体压平模式 [1.0.1+]:

type: "the_flattening:entity_flattening" [按要求必填]
input: [实体类型 ID 字符串,必填]
output: {
  id: [物品 ID 字符串,必填]
  count: [整数,可选,默认为 1]
}
shouldDropEntityLoot: [布尔值,可选,默认为 false]
shouldDropXp: [布尔值,可选,默认为 false]