mojira.dev
MCPE-233286

BlockMapColorComponent only works for foliage blocks.

Steps to Reproduce:

  1. Write a basic script that gets the map_color component.

  2. Print the “color“ parameter.

Observed Results:

  • Only works on Grass Blocks and custom blocks that have the “minecraft:map_color“ component.

  • Blocks like dirt, sand, water, logs, etc don’t have the map_color component.

Expected Results:

  • BlockMapColorComponent.color gives the map color used on maps for all hard-coded blocks.

  • Blocks like dirt, sand, water, logs, etc should return the color used on maps.

Comments 1

Please attach an example add-on that can be used to reproduce the issue.

Legopitstop

(Unassigned)

Unconfirmed

Windows

Windows 11

1.21.130

Retrieved