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

Server Script Event "minecraft:block_interacted_with" no longer works with Fire Charges and Flint And Steel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.1
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Platform:
      Windows 10 - PC

      Description

      Consider a Minecraft world with a behavior pack that contains the following server script:

      const system = server.registerSystem(0, 0);
      
      system.initialize = () => {
          system.listenForEvent("minecraft:block_interacted_with", event => {
              let eventData = this.createEventData("minecraft:display_chat_event");
              eventData.data.message = "Block interacted with";
              this.broadcastEvent("minecraft:display_chat_event", eventData);
          });
      }
      

      What it does is send a chat message everytime the minecraft:block_interacted_with event is fired. Before 1.16.0, this script would send a chat message everytime the player used a Fire charge and a Flint and steel. After the update, this no longer works.

      This event still works for other things like opening and closing fence gates, however the event is no longer fired when a player uses a Fire charge or Flint and steel.

        Attachments

          Activity

            People

            Reporter:
            ReimarPB Reimar Pihl Browa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: