Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-174587

"minecraft:on_player_destroyed" not working in creative mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.15 Hotfix
    • None
    • Confirmed
    • Windows
    • 1097476

      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

            corv1njano corv1njano
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: