-
Bug
-
Resolution: Incomplete
-
None
-
1.17.2 Hotfix
-
None
-
Unconfirmed
-
Multiple
Using new items declaration defined in 1.16.100 (holiday creators features).
Defined item as:
{
"format_version": "1.17.2",
"minecraft:item": {
"description": {
"identifier": "builderstools:ruler",
"category": "items"
},
"components": {
"minecraft:icon": {
"texture": "ruler"
},
"minecraft:hand_equipped": true,
"minecraft:max_stack_size": 1,
"minecraft:on_use_on": {
"on_use_on": {
"event": "builderstools:swing",
"target": "block"
}
}
},
"events": {
"builderstools:swing": {
"swing": {}
}
}
}
}
The issue is that the scripting event: "minecraft:entity_use_item" is not picking up the "on_use_on" event defined in the item.