gigaherz / JsonThings

Data-driven minecraft
https://www.curseforge.com/minecraft/mc-mods/json-things
Other
22 stars 6 forks source link

Adding Items With A Tool Type Does Not Work; Forge 1.19.2; Mod Version 0.7.15 #28

Open AopoxlXil opened 8 months ago

AopoxlXil commented 8 months ago

These files do not work even after checking discord forums and following exactly from other's examples

thingpacks/brutalcoremaster/things/brutalcore/item_tier/copper.json

{
  "uses": 160,
  "speed": 1.0,
  "attack_damage_bonus": 1,
  "enchantment_value": 1,
  "tag": "forge:requires_iron_tool",
  "repair_ingredient": {
    "item": "minecraft:copper_ingot"
  },
  "sort_after": [],
  "sort_before": []
}

thingpacks/brutalcoremaster/things/brutalcore/item/copper_axe.json

{
  "type": "axe",
  "tier": "brutalcore:copper"
  "damage": 9,
  "speed": 2.5,
  "max_damage": 160,

  "max_stack_size": 1
}