emilyploszaj / chime

MIT License
77 stars 20 forks source link

Overrides do not apply to tridents #27

Open Poly2it opened 2 years ago

Poly2it commented 2 years ago

Minecraft 1.18.2 Chime v1.2.1

Overrides for the trident model in inventory does not apply.

How to replicate:

in overrides/item: in gold_ingot.json and trident.json:

{
  "overrides": [
    {
      "predicate": {
        "name": "Fork"
      },
      "model": "item/fork"
    }
  ]
}

Result:

trident_issue On the left: A trident. On the right: A gold ingot.

bangetto commented 1 year ago

wait, I might know what the problem is! probably the inventory and the handheld one is 2 different model so you need to add overrides for both of them

Edit: yep, but it's get confusing because the trident.json is the one that's the 2d item, and the other two are the 3d