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

Switching between offhand and mainhand with an item that has attribute modifers stops working when swapped to mainhand

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.16.2 Release Candidate 2, 1.16.2
    • None
    • Community Consensus
    • Player

      I have an item that when held reduces the players movement speed by 20%

      /give @s carrot_on_a_stick{AttributeModifiers:[

      {AttributeName:"generic.movement_speed",Name:"generic.movement_speed",Amount:-0.20,Operation:1,UUID:[I;578450971,-1780594405,-1263397648,-1384389364]}

      ]}

      And when I hold it in the mainhand then swap it to offhand then go back to mainhand it doesn't reduce the movement speed as it should.

       

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

              Created:
              Updated:
              Resolved:
              CHK: