Mojira Archive
MC-271878

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

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.

Duplicate

Caleb McCall

2024-05-11, 04:59 AM

2024-05-11, 05:34 AM

2024-05-11, 05:29 AM

0

0

Unconfirmed

(Unassigned)

1.20.6

-