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

block_interaction_range defaults to base when moving an item from offhand to mainhand.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.6
    • None
    • Unconfirmed
    • (Unassigned)

      How to reproduce

      1. Get an item with a longer or shorter block interaction range attribute
        /give @p stone[attribute_modifiers=[{type:"player.block_interaction_range",name:"player.block_interaction_range",amount:-10,operation:"add_value",uuid:[I;341645903,-1161474907,-1197570476,-445874371]}]]
        
      1. Put the item into your offhand using the hotkey
      2. Use the Swap Item with Offhand keybind again to put the item back into your mainhand.
      3. The item now ignores the block interaction range attribute and instead uses your base attribute.

      This will get reset if you change hotbar slots and return to the item, or move it around in your inventory.

            Unassigned Unassigned
            WASDBuildTeam Caleb McCall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: