Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-40288

Drowned with tridents can have them be changed into fishing rods when attacking a target and still shoot tridents. A nautilus shell can also be suddenly in their offhand after attacking a target.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.40.22 Preview, 1.19.40
    • 1.17.20.22 Beta, 1.17.0.52 Beta, 1.16.0.59 Beta, 1.8.0, 1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.0, 1.16.1, 1.16.21, 1.16.20, 1.16.40 Hotfix, 1.16.100, 1.16.201 Hotfix, 1.16.210, 1.16.221 Hotfix, 1.17.30, 1.18.12 Hotfix, 1.18.31, 1.19.21 Hotfix
    • None
    • Confirmed
    • Multiple
    • 379771

      Steps to reproduce

      1. Open MCPE-40288.mcworld . This word contains a trapped villager, a short minecart track, and a saved drowned-with-trident-in-minecart structure.
      2. 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:

      1. 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.
      2. 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.
      3. 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.
      4. 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?

        1. 22AF19E7-9E82-41F8-88FC-A27E3006A011.png
          937 kB
          2ombie Gaming
        2. 29B328A6-D5C7-4C2F-91CD-ECE5D9CA1EDA.png
          2.04 MB
          2ombie Gaming
        3. 3ce7e003-1956-46bb-9e1c-107ce61dd42b~3.mp4
          7.41 MB
          Jason P. Jenkins
        4. Drown Loadout Switch.mp4
          8.42 MB
          Levi Henson
        5. MCPE-40288.mcworld
          70 kB
          [Mod] GoldenHelmet
        6. Minecraft 2020-07-23 08-21-03_Trim.mp4
          6.50 MB
          Jason Hight

            2ombie_gaming 2ombie Gaming
            Votes:
            43 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: