Origins (Forge)

Origins (Forge)

7M Downloads

Hoe Damage Datapack not working

hakasapl opened this issue ยท 4 comments

commented

Hi,

I'm working on a custom power which would give the player more damage with hoes. Here's what I have:

{
  "type": "origins:modify_damage_dealt",
  "damage_condition": {
    "type": "origins:using_item",
    "item_condition": {
      "type": "origins:ingredient",
      "ingredient": {
        "tag": "forge:tools/hoes"
      }
    }
  },
  "modifier": {
    "operation": "addition",
    "value": 8.0
  }
}

Do forge tags not work with origins:forge? This power is never even loaded. The log shows that the origin is requesting an unregistered power (the power above). Everything is spelled correctly and the other powers I have made work fine. Just this one has an issue.

Any help would be great, I'd be happy to give more info on request.

commented

Currently, using_item is limited to items that have use animations, such as food or potions.
Items are unsupported.

commented

Thanks for the info. Is there any other supported way to increase damage with specific tools?

commented

Equipped Item might do the trick.
You can specify "equipment_slot": "mainhand"

commented

That did it, thank you!