Steps to reproduce
Open
. This word contains a trapped villager, a short minecart track, and a saved drowned-with-trident-in-minecart structure.
Flip the lever. This will load a drowned with a trident in a minecart and start sending it back-and-forth along the track.
Expected result
The drowned with the trident keeps the same equipment.
Observed result
If you wait long enough the drowned will eventually acquire both a fishing rod and a nautilus shell.
Analysis
This is a bug in the vanilla behavior file. Every time a ranged drowned switches to melee mode because its target is close it also loads the melee equipment table, which gives it a chance of getting fishing rod and nautilus shell. To fix the bug, move the melee equipment table to its own component group that would be added only when spawning a melee drowned. (This bug and the fix needed is analogous to MCPE-137149; compare zombies who have a separate component group for spawned equipment.)
Ok, so I was randomly messing around in my world when I suddenly noticed that after a drowned with a trident threw it at a villager and killed it, the drowned suddenly had a fishing rod. Hours later, I was testing to see what was the issue and another drowned with a trident suddenly had a nautilus shell in its offhand. After spawning loads of villagers, its trident became a fishing rod and another bug was discovered: it could still shoot tridents even though it had been replaced by a rod. This is confusing but if I had to guess, the chance of the drowned's trident of changing into a rod (and the drowned to suddenly have a nautilus shell in its offhand) are the same as the chance of finding a drowned with the item. The video I recorded was too long to upload but you could try to test it by:
Spawning a drowned with a trident in a river or ocean in Creative Mode with Easy difficulty (so no zombie villagers), and clearing other drowned from the area.
Spawn one villager at a time in the same river/ocean as the drowned, but at a distance such that the drowned wants to use its trident instead of melee.
Let the drowned kill the villager and repeat, until its trident turns into a rod. This may take a while. Also, a nautilus shell may also suddenly appear in its offhand.
Once the trident turns into a rod, test whether the drowned can still shoot tridents, using villagers. Note that the drowned can drop the rod like normal.
Is there a way to send the video to anybody so I can show more proof?
Linked issues
is duplicated by 19
Attachments
Comments 16
I think I have noticed this also. A drowned threw a trident at me while I was crossing a river, and when I looked for the drowned to kill it, all I could find was a drowned with a fishing rod.
Here is video proof of this occurrence btw. Just in case you needed it. Not too annoying at my stage, yet still its a multiplayer world so we can share and trade.
Silentwhisperer, to compress a video you need to go into your files (assuming you are using windows 10) and right-click your selected video than click "open with..." choose VLC Media Player (It's a traffic cone) and then wait for it to load, go to this video https://www.youtube.com/watch?v=rlVmreWMAVk at time marker 1:29 for the rest. That should compress it for you. I got my 19.3 MB down to an 8.41 MB this way.
+1 confirm, it has nothing to do with villagers or anything, it has happened twice to me just trying to kill drowneds for their trident.
Can this be marked as "related" to my report about Drowneds dropping their weapon when they pick up a nautilus shell? How related do the bugs have to be?
If it helps, the report was MCPE-155739
EDIT: I also haven't updated that report in a while...
Also note that that even though the glitched fishing-rod drowned can throw tridents at targets, the melee damage it deals is still that of a non-trident drowned.