Prior to 26.3 pre-release 1, wandering traders could be made completely invisible during the day by giving them invisibility, then removing the item from their mainhand every tick. That is no longer possible as the milk bucket in their hand is now always visible, regardless of it being removed by a command or not.
Steps to reproduce:
Set it to day:
/time set daySetup a repeating command block containing the command:
/item replace entity @n[type=minecraft:wandering_trader] weapon.mainhand with airSummon a wandering trader:
/summon minecraft:wandering_traderGive them infinite invisibility:
/effect give @n[type=minecraft:wandering_trader] minecraft:invisibility infinite 0 trueActivate the repeating command block before the trader finishes drinking
Expected result: The wandering trader is completely invisible, with the milk bucket not visible.
Actual result: The milk bucket is still visible, despite being removed every tick
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – The official Minecraft feedback site
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki