mojira.dev
MC-222927

Conduits have the wrong color on maps

The bug

Conduits use the color of prismarine on a map.

[media]

How to reproduce

  1. Fill an area with conduits:

    /fill ~ ~ ~ ~10 ~ ~10 conduit
  2. Obtain an empty map and fill it (by default, right click)
    ❌ The conduits, viewed from the map, appear to be close to the color of prismarine

Expected results

The conduits on the map would appear more brown than the color of prismarine because the block texture of a conduit is more brown than it is turquoise.

Attachments

Comments 13

Can confirm. Also affects 1.16.5.

Maybe it's an intended feature. 🙂

Can confirm in 21w15a.

Can confirm in 21w16a.

Can confirm in 1.17.

3 more comments

I can confirm this behavior in 1.18 Pre-release 8.

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 CONDUIT = register("conduit", new ConduitBlock(BlockBehaviour.Properties.of(Material.GLASS, MaterialColor.DIAMOND).strength(3.0F).lightLevel(($$0) -> {
   return 15;
   }).noOcclusion()));
   ...

If we look at the above class, we can see that conduit's MaterialColor, (otherwise known as the color that this block appears as on maps) is DIAMOND, therefore, making it appear blue. The actual block texture of conduits is not blue and is instead shades of brown, so it would be expected that conduits use a MaterialColor that's similar to their block texture.

Can confirm in 1.18.2.

Can confirm in 1.19.

Can confirm in 1.19.1.

Can confirm in 1.19.2.

Dmitry Konev

(Unassigned)

Confirmed

Maps

1.16.5, 21w14a, 21w15a, 21w16a, 21w17a, , 1.19.3, 1.19.4, 1.20 Pre-release 1, 23w32a, 1.20.4

Retrieved