Перейти к содержимому
Mineforgian

NBT Recipes

Adds the ability to add NBT data to recipe json files

Загрузки
2K
Подписчики
19
Обновлён
14 ноября 2023 г.
Лицензия
Apache-2.0

Опубликован 7 ноября 2023 г.

NBT Recipes

Adds the ability to add NBT data to the result of JSON recipes, but keeps the ability to read recipes with NBT data. Also adds the ability to set a result count for smelting, stonecutting, and smithing.

Example Crafting JSON

{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "#"
  ],
  "key": {
    "#": {
      "item": "minecraft:diamond"
    }
  },
  "result": {
    "item": "minecraft:amethyst_shard",
    "count": 3,
    "data": {
      "display": {
        "Name": "[{\"text\":\"Example Item\",\"italic\":false}]",
        "Lore": [
          "[{\"text\":\"I am an example\",\"italic\":false}]"
        ]
      },
      "Enchantments": [{}]
    }
  }
}

Example Smelting JSON

{
  "type": "minecraft:smelting",
  "ingredient": {
    "item": "minecraft:diamond"
  },
  "result": {
    "item": "minecraft:amethyst_shard",
    "count": 3,
    "data": {
      "display": {
        "Name": "[{\"text\":\"Example Item\",\"italic\":false}]",
        "Lore": [
          "[{\"text\":\"I am an example\",\"italic\":false}]"
        ]
      },
      "Enchantments": [{}]
    }
  },
  "experience": 1,
  "cookingtime": 20
}

Exmaple Stonecutting JSON

{
  "type": "minecraft:stonecutting",
  "ingredient": {
    "item": "minecraft:diamond"
  },
  "result": {
    "item": "minecraft:amethyst_shard",
    "count": 3,
    "data": {
      "display": {
        "Name": "[{\"text\":\"Example Item\",\"italic\":false}]",
        "Lore": [
          "[{\"text\":\"I am an example\",\"italic\":false}]"
        ]
      },
      "Enchantments": [{}]
    }
  }
}

Example Smithing JSON

{
  "type": "minecraft:smithing_transform",
  "template": {
    "item": "minecraft:stick"
  },
  "base": {
    "item": "minecraft:gold_ingot"
  },
  "addition": {
    "item": "minecraft:diamond"
  },
  "result": {
    "item": "minecraft:amethyst_shard",
    "count": 3,
    "data": {
      "display": {
        "Name": "[{\"text\":\"Example Item\",\"italic\":false}]",
        "Lore": [
          "[{\"text\":\"I am an example\",\"italic\":false}]"
        ]
      },
      "Enchantments": [{}]
    }
  }
}

Ченджлог

1.0.1+1.20.1Релиз1.20.1 · 14 ноября 2023 г.

Update icon PNG

Комментарии

Загружаем…