Mojira Archive
MCPE-88469

Script Engine Event "minecraft:block_interacted_with" Monitoring Fails

 

sys.listenForEvent("minecraft:block_interacted_with", function (interactData) {
    sendMessage("interacted!!!");
});

 

As above, I added the monitoring of the "minecraft:block_interacted_with" event in the script engine (sendMessage method is used to output information in the message bar, and the method works normally after inspection), but when I trigger the event in the game (right-click a block), the script engine did not send the "interacted!!" message.

This bug already existed at 1.16.0. At the time, I was not very sure whether the problem is caused by your studio changed the event identifier. However, because I have not found the relevant changes in the newly released document, so I guess it should be a bug, hope to fix it as soon as possible, if it is not a bug, I hope your studio can improve the document, thank you~

Unresolved

Qian Shan yao

2020-07-01, 11:47 AM

2021-10-19, 05:41 PM

1

2

Confirmed

643562

1.16.0, 1.16.1, 1.16.20, 1.17.34

-