color
Return one of the colors from all of the known block colors. Wool and concrete can have multiple colors so this is used to color those blocks.
WHITE;
Parameters
- color the color
Example
Use the color
block to place yellow wool near the player.
blocks.place(blocks.colorToBlock(COLORED_WOOL, YELLOW), pos(1, 0, 0));