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

Block’s custom component doesn’t work.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.22 Hotfix
    • None
    • Unconfirmed
    • Windows

      When trying to use the custom component I can’t.

      -Step to reproduce:

      1 Copy the attached behavior pack.

      2 Create a word with the behavior pack active.

      3 Play on this word.

      -Expected result: When I walk on the pad I bump into the sky.

      -Observed result: 

      The block doesn’t work and it throws me a bunch of error

      [Scripting][warning]-player/fonction.js is loaded

      [Scripting][warning]-player/index.js is loaded

      [Scripting][warning]-block/component.js is loaded

      [Scripting][warning]-main.js is loaded

      [Scripting][error]-TypeError: cannot read property 'registerCustomComponent' of undefined    at <anonymous> (block/component.js:8)

      [Scripting][warning]-Component 'lethal:bump' was not registered in script but used on a block

      [Blocks][warning]-Warning: The blocks.json "format_version" field was not given. "format_version" 1.1.0 will be used.

            yoyolerigolo yoyolerigolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: