-
Bug
-
Resolution: Fixed
-
Minecraft 15w44b, Minecraft 15w45a, Minecraft 16w03a, Minecraft 16w04a, Minecraft 1.9, Minecraft 1.10.2, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a
-
Confirmed
The bug
When a splash or lingering potion with the CustomPotionEffects tag hits the ground and bursts, it will only show the particles of the potion defined by the Potion tag.
This is pretty inconsistent as for example tipped arrows show the particles of the effects provided in the CustomPotionEffects tag.
Used command
/give @p lingering_potion 1 0 {CustomPotionEffects:[{Id:12,Duration:1200,Ambient:1b,Amplifier:1}],Potion:"minecraft:water"}
The reason
The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.
The reason why this happens is because the method net.minecraft.client.renderer.RenderGlobal.playAuxSFX(EntityPlayer, int, BlockPos, int) only passes a data value. This is currently used to represent the id of a default potion. As MC-45749 shows this method might be outdated.