Jump to content

Codename Rune

Vintarian
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Codename Rune

  1. Quote

    Api Fixed: Modmaker patches not prefixing "game:" domain for vanilla patches

    I was messing around with making a path using Modmaker today (in 1.17.4) and it only prefixes "game:" for the first entry in the patch file. Since it works when I manually add it everywhere, I am assuming this to be unintended behavior.

    Please see the example below using a demo mod in which we change the break chance of arrows:

    [
      {
        "op": "replace",
        "path": "/attributes/breakChanceOnImpactByType/*-bismuthbronze",
        "value": 0.02,
        "file": "game:itemtypes/tool/arrow.json"
      },
      {
        "op": "replace",
        "path": "/attributes/breakChanceOnImpactByType/*-blackbronze",
        "value": 0.015,
        "file": "itemtypes/tool/arrow.json"
      },
      {
        "op": "replace",
        "path": "/attributes/breakChanceOnImpactByType/*-copper",
        "value": 0.07,
        "file": "itemtypes/tool/arrow.json"
      }
    }

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.