PrismarineJS / minecraft-data-generator

Data generator for Minecraft data based on a fabric mod
MIT License
9 stars 13 forks source link

Item and enchantment data extraction bugs #23

Open extremeheat opened 3 months ago

extremeheat commented 3 months ago

Items have duplicated enchantments:

  {
    "id": 873,
    "name": "golden_chestplate",
    "displayName": "Golden Chestplate",
    "stackSize": 1,
    "enchantCategories": [
      "armor",
      "armor",
      "armor",
      "armor",
      "armor",
      "wearable",
      "breakable",
      "breakable",
      "vanishable"
    ],
    "repairWith": [
      "gold_ingot"
    ],
    "maxDurability": 1
  },

In enchantment extracting the weight field is written as a boolean. It should be an integer

    "category": "armor",
    "weight": false,
    "tradeable": true,

like

    "category": "armor",
    "weight": 5,
    "tradeable": true,
    "discoverable": true

code

rom1504 commented 2 weeks ago

recipes also broken; see https://github.com/PrismarineJS/minecraft-data/issues/917