-
Bug
-
Resolution: Unresolved
-
None
-
1.17.1, 1.19.4 Release Candidate 1, 1.21
-
None
-
Community Consensus
-
Data Packs, Player
As title.
There is a 2 gt delay between applying attribute modifiers to items and the attribute modifiers actually taking effect.
Modifiers applied by command /attribute are not affected.
The attachment is a datapack including some functions to verify the bug.
Steps to reproduce
- install the datapack and reload
- run /function test:direct/modify_attribute to see values queried by /attribute with modifiers applied by /attribute
- run /function test:item/modify_attribute to see values queried by /attribute with modifiers applied on item by /item and item modifier file
Note
- all selectors in the datapack are @p in order to simplify the code
- modifier is automatically removed after 3 gt
- is duplicated by
-
MC-274715 Attribute modifiers on items have a delay before being applied.
- Resolved