mojira.dev
MC-267950

"generic.entity_interaction_range" Attribute Modifier applied to items does not work

Ever since the attribute "generic.entity_interaction_range" was introduced in 23w51a, it was possible to apply it on items through NBT data as AttributeModifiers, which can modify the player's said attribute when held, depending on the assigned slot for it to function. However, all of these stop working on snapshot 24w03a and 24w03b, as the player's entity interaction range is unchanged despite holding such items with "generic.entity_interaction_range" AttributeModifier.

Comments 2

generic.block_interaction_range and generic.entity_interaction_range were apparently renamed to player.block_interaction_range and player.entity_interaction_range as the bugfix for MC-267422

 

[media]

Correct, this is invalid as those are not the attribute names (anymore).

Pill-ager01

(Unassigned)

Unconfirmed

(Unassigned)

24w03b

Retrieved