mojira.dev
MCPE-46060

Scripting inventory components adding "tile." prefix to custom blocks

Having a custom block in the inventory on an entity, and then fetching the inventory of said entity, the custom blocks have a "tile." prefix on their identifier.

Reproduction:

  1. Download and install addon attached

  2. /give @s test

  3. Place the block down

  4. Look at the JSON string outputted, the first index (the hand) will have the "tile." prefix on the identifier

All code is present in the server script.

 

Attachments

Comments 1

This has been fixed in 1.12.0.9

destruc7i0n

(Unassigned)

Unconfirmed

Windows

Windows 10

1.12.0.4 Beta

1.12.0.11 Beta

Retrieved