Mojira Archive
MCPE-174587

"minecraft:on_player_destroyed" not working in creative mode

This bug has already been reported in 2020 (MCPE-102625) but it still hasen't been fixed after 3 years and the author of MCPE-102625 isn't responding, so I have creatde a new ticket to speed up the fixing.

The problem: "minecraft:on_player_destroyed" does not work when the player destroys the block in creative mode.

Steps to Reproduce:
1. Create a cutsom block with a "minecraft:on_player_destroyed" event (addon provided below)
2. Set gamemode to creative
3. Place block and destroy it

Observed Results:

  • when block gets destroyed in survival mode the corresponding event will be triggerd
  • when block gets destroyed in creative mode the corresponding event will not be triggerd
  • video: https://youtu.be/xwivVEZ7mLg

Expected Results:

  • block event should be triggered no matter what gamemode the player has who destroys the block

Unresolved

corv1njano

2023-08-25, 12:59 PM

2024-09-23, 06:14 PM

3

2

Confirmed

1097476

1.20.15 Hotfix, 1.21.30

-