The bug
Dark prismarine, stairs or slab and prismarine, stairs or slab have wrong color on maps(the two color should be interchanged).
Dark prismarine, stairs or slab shows up as color like prismarine bricks on maps, the correct color should like warped planks.
Prismarine, stairs or slab shows up as color like warped planks on maps, the correct color should like prismarine bricks.
Code analysis
@unknown has done a code analysis in this comment.
Linked issues
is duplicated by 3
relates to 11
Attachments
Comments 5
I can confirm this behavior in 1.18 Release Candidate 1.
Here's a code analysis of this issue. The following is based on a decompiled version of Minecraft 1.17.1 using MCP-Reborn.
net.minecraft.world.level.block.Blocks.java
public class Blocks {
...
public static final Block PRISMARINE = register("prismarine", new Block(BlockBehaviour.Properties.of(Material.STONE, MaterialColor.COLOR_CYAN).requiresCorrectToolForDrops().strength(1.5F, 6.0F)));
...
public static final Block DARK_PRISMARINE = register("dark_prismarine", new Block(BlockBehaviour.Properties.of(Material.STONE, MaterialColor.DIAMOND).requiresCorrectToolForDrops().strength(1.5F, 6.0F)));
If we look at the above class, we can see that prismarine's MaterialColor
, (otherwise known as the color that this block appears as on maps) is COLOR_CYAN
, and dark prismarine's is DIAMOND
. Since the DIAMOND MaterialColor
appears much brighter than the COLOR_CYAN MaterialColor
, this results in these two blocks not accordingly reflecting the color of their block's texture.
Can confirm in 20w51a.