When copper grates are waterlogged, the water inside them is set with falling in its fluid state. This is inconsistent with other waterloggable blocks, where the contained water typically does not have the falling state set.
This behavior has existed since snapshot 23w46a, when copper grates became waterloggable.
I’m unsure whether this is intentional or a mistake.
As for how this manifests in-game, consider the setup shown below: when trying to trap a boat inside a waterlogged copper grate, mangrove roots, or leaves, the behavior is consistent when there are no surrounding blocks (see Fig. 1). However, when there are surrounding blocks, the boat inside the waterlogged copper grate sinks downward, unlike in the other cases (see Fig. 2).
Attachments
Comments 5
An additional video is provided below to help demonstrate the behavior more clearly.
For developers, this likely comes from WaterloggedTransparentBlock, which may help locate and identify the issue.
Hi!
Thank you for your report!
Are you using any modifications or texture packs for launcher and game?
Could you include reproduction steps?
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
I will demonstrate the above issue in vanilla.
Please see the video below, which includes the construction process of the setup (using copper grates as an example; mangrove roots use the same method. For leaves, /setblock must be used, as they cannot be pushed).
I again point out that this is just a in-game manifestation of the issue. The underlying mechanism can be clearly observed in the code.
For the WaterloggedTransparentBlock class (which copper grates inherit from), there is the following method:
protected FluidState getFluidState(final BlockState state) {
return state.getValue(WATERLOGGED)
? Fluids.WATER.getSource(true) // note here
: super.getFluidState(state);
}For other waterloggable blocks, however, the method is generally implemented like this:
protected FluidState getFluidState(final BlockState state) {
return state.getValue(WATERLOGGED)
? Fluids.WATER.getSource(false) // note here
: super.getFluidState(state);
}If this is confirmed to be an intentional design, I want to know why it was made this way (mainly from the developer side).
I checked the English Wiki and found that the description here https://minecraft.wiki/w/Block_states#falling_2 is clearly not consistent with the actual behavior, because the water inside waterlogged copper grates is indeed “falling”.
The Chinese Wiki correctly points this out: https://zh.minecraft.wiki/w/%E6%96%B9%E5%9D%97%E7%8A%B6%E6%80%81#%E6%B0%B4
Thank you for helping us improve Minecraft! We saved your files: