-
Bug
-
Resolution: Incomplete
-
None
-
1.20.0
-
None
-
Unconfirmed
-
Windows
Expected Behavior: When interacting on a block with an empty mainhand, the beforeEvents.itemUseOn event is fired, as well as the afterEvents.itemUseOn event.
Current Behavior: When interacting on a block with an empty mainhand, these events no longer fire. This behavior does not occur when interacting with an item in your mainhand.
This issue only occurs when using the 1.3.0-beta version of the minecraft-server module or later in behavior packs.
Sample Code:
world.beforeEvents.itemUseOn.subscribe((data) => {console.warn(1) })