mojira.dev
MCPE-186246

Block’s custom component doesn’t work.

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.

Attachments

Comments 3

Sorry my english is terrible every time I said "bump" I meant "bonce".

Sorry my english is terrible every time I said "bump" I meant "bonce".

yoyolerigolo

(Unassigned)

Unconfirmed

Windows

Windows 10

1.21.22 Hotfix

Retrieved