I builded a large powderd snow cauldron field next to my ice farm but when i made a map of it i saw there was no special texture for filled cauldron's
Reproduce
Get a filled cauldron with a non filled cauldron next to it
Get a map and open it
❌ The map textures look the same
Expected Result
There would be a specific map texture for filled cauldrons
Code analysis
Code analysis by @unknown in this comment.
Attachments
Comments 8
I can confirm that this is an issue. The same thing can be seen with water and lava cauldrons.
[media][media]I can confirm this behavior in 1.18 Release Candidate 3.
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 CAULDRON = register("cauldron", new CauldronBlock(BlockBehaviour.Properties.of(Material.METAL, MaterialColor.STONE).requiresCorrectToolForDrops().strength(2.0F).noOcclusion()));
public static final Block WATER_CAULDRON = register("water_cauldron", new LayeredCauldronBlock(BlockBehaviour.Properties.copy(CAULDRON), LayeredCauldronBlock.RAIN, CauldronInteraction.WATER));
public static final Block LAVA_CAULDRON = register("lava_cauldron", new LavaCauldronBlock(BlockBehaviour.Properties.copy(CAULDRON).lightLevel((p_152692_) -> {
return 15;
})));
public static final Block POWDER_SNOW_CAULDRON = register("powder_snow_cauldron", new PowderSnowCauldronBlock(BlockBehaviour.Properties.copy(CAULDRON), LayeredCauldronBlock.SNOW, CauldronInteraction.POWDER_SNOW));
...
If we look at the above class, we can see that regular cauldrons have a MaterialColor
of STONE
. The cause of this problem is that water, lava, and powder snow cauldrons copy the BlockBehaviour.Properties
of regular cauldrons as shown in the above class, meaning that their MaterialColor
s would also be STONE
. (For context, MaterialColor
is the color that blocks appear as on maps). Because of this, filled cauldrons don't appear to accordingly reflect the color of their block's top texture on maps.
Can confirm there is also no difference for water-filled cauldrons