Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-273355

New attribute modifiers component doesn´t work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21
    • None
    • Unconfirmed
    • (Unassigned)

      When i tried to create an item with attribute modifiers, it failed, even when i used the example from the changelog website, my command:

      /give RUNECromex netherite_boots[attribute_modifiers={modifiers:[type:'minecraft:generic.scale',uuid:[1,2,3,4],name:'Big!',amount:1.0,operation:'add_multiplied_base']}]

      What the game tells me is wrong:

      Exspected `]` at position 69: ...iers:[type<–[HERE]

      As you can see in my command, i use the exact example for attribute modifiers as from the changelog and not even that works. The only aspect i changed was making it an actual give command and putting it in square brackets so that the game realizes that i am using a component.

            Unassigned Unassigned
            RUNECromex RUNECromex
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: