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

Looting is not applied when a mob is killed with a projectile

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.17.32
    • 1.17.40.21 Beta, 1.17.40.20 Beta, 1.17.30
    • None
    • Confirmed
    • Multiple
    • 621878

      Please remember to observe the bug tracker guidelines: Comments must provide additional information for the developers only. We also allow you to share a workaround in a comment, because that is generally helpful to the developers.

      For those of you who mentioned that loose tridents in the world are disappearing, that is a separate issue and is being tracked as MCPE-141539.

      Bug
      When a mob gets killed by a projectile, the loot from the mob will not be applied with looting, resulting in less drops from the killed mob. This happend after the 1.17.30 update

      Expected result
      The loot from the mob gets applied with looting. Just like it happens on Java.

      Observed result
      The mob only drops the amount of loot that is the same as killing a mob without looting.

      Steps to reproduce
      Step 1: Shoot an arrow or trident against a Ghast with 1 or 2 health left (try punching the ghast 3 times before shooting)
      Step 2: Switch as quick as possible to a looting 3 sword in your hand
      Step 3: Look at what the Ghast drops, only 0-2 gunpowder and 0-1 ghast tears. This should be 0-5 gunpowder and 0-4 ghast tears per Ghast

      Media
      I have added Looting test 1.17.10.mp4, Looting test 1.17.40.21 beta.mp4 and Looting test Java.mp4 to the bugreport.

      In 1.17.10, using a trident, the ghast drops:
      -With trident:
      3 gunpowder and 1 ghast tear. Because I got 3 gunpowder, means there must be looting applied as getting 3 gunpowder is impossible without looting (max loot of gunpowder without looting is 2 gunpowder
      -With bow:
      3 gunpowder and 4 ghast tears. The multiple ghast tears shows that looting is definitely applied in 1.17.10 on mobs killed by looting

      In 1.17.30+ (the recording is done in 1.17.40.21, but 1.17.30 experience the same issue as seen by the other attachments)
      -With trident:
      1 gunpowder. Because I got only 1 gunpowder, it can be said looting is not applied
      -With bow:
      1 gunpowder and 1 ghast tears. This once again shows looting is not applied if mobs are killed by projectiles

      In Java you can see, after throwing the trident, it will drop the loot with looting applied. This means the change in 1.17.30 is in disparity with Java

        1. IMG_20210922_150155.jpg
          IMG_20210922_150155.jpg
          46 kB
        2. IMG_20210922_150314.jpg
          IMG_20210922_150314.jpg
          67 kB
        3. 2021-09-22 22-46-39_Trim.mp4
          8.00 MB
        4. My Video.mp4
          9.44 MB
        5. Minecraft-2021-09-22-23-25-43.mp4
          8.70 MB
        6. Looting test 1.17.10.mp4
          9.30 MB
        7. Looting test 1.17.40.21 beta.mp4
          9.45 MB
        8. Looting test Java.mp4
          7.95 MB

          [MCPE-141935] Looting is not applied when a mob is killed with a projectile

          [Mod] GoldenHelmet added a comment - - edited

          Tested related scenarios:

          • Looting applies if you kill mobs with a harming potion while holding a looting sword.
          • It does not apply if you kill a mob with TNT while holding a looting sword.
          • It does not apply if your tamed wolf kills a mob while you hold a looting sword.

          Note that projectile looting is reported as a bug in Java Edition at MC-3304.

          [Mod] GoldenHelmet added a comment - - edited Tested related scenarios: Looting applies if you kill mobs with a harming potion while holding a looting sword. It does not apply if you kill a mob with TNT while holding a looting sword. It does not apply if your tamed wolf kills a mob while you hold a looting sword. Note that projectile looting is reported as a bug in Java Edition at MC-3304 .

          Thank you for the additional information - the repro steps and video examples we have now should be enough, and the issue is being looked into by the team.

          Please remember that this is a bug tracker and not a forum for discussion or feedback. Please keep any comments limited to NEW information about the bug only, and add a vote if you would like to show your interest in this issue. Off-topic comments and chatter may be hidden to avoid clutter, enabling us to focus on the information relevant to the bug.

          While we understand your frustration at certain game feature or mechanics not working as you would always like or expect, please remember that there is not always a simple fix that will resolve the issue immediately. Please be assured we are actively looking into a solution though.

          [Mojang] Mega_Spud (Jay Wells) added a comment - Thank you for the additional information - the repro steps and video examples we have now should be enough, and the issue is being looked into by the team. Please remember that this is a bug tracker and not a forum for discussion or feedback. Please keep any comments limited to NEW information about the bug only, and add a vote if you would like to show your interest in this issue. Off-topic comments and chatter may be hidden to avoid clutter, enabling us to focus on the information relevant to the bug. While we understand your frustration at certain game feature or mechanics not working as you would always like or expect, please remember that there is not always a simple fix that will resolve the issue immediately. Please be assured we are actively looking into a solution though.

          TgL added a comment -

          Looting seems to be applied to the harming tipped arrow, but not the tridentMinecraft-2021-09-22-23-25-43.mp4

          TgL added a comment - Looting seems to be applied to the harming tipped arrow, but not the trident Minecraft-2021-09-22-23-25-43.mp4

          Stuart Stirland added a comment - - edited

          This is a severe nerf to Bedrock players, as others have noted.  For example, with drowned-copper farms bedrock players cannot make use of the reinforcement mechanic present in Java to get faster drop rates.  Factoring in the nerf from this bug makes it really hard to get renewable copper for all console and mobile players.  Hopefully it gets a hotfix in days rather than weeks.

          Stuart Stirland added a comment - - edited This is a severe nerf to Bedrock players, as others have noted.  For example, with drowned-copper farms bedrock players cannot make use of the reinforcement mechanic present in Java to get faster drop rates.  Factoring in the nerf from this bug makes it really hard to get renewable copper for all console and mobile players.  Hopefully it gets a hotfix in days rather than weeks.

          Dark Legend added a comment - - edited

          Attached a video showing this with looting 255 sword(obtained by inventory editing). Looting effect is clearly not applied to mobs killed by projectiles My Video.mp4

          Dark Legend added a comment - - edited Attached a video showing this with looting 255 sword(obtained by inventory editing). Looting effect is clearly not applied to mobs killed by projectiles My Video.mp4

          I have found that I can get looting if I shoot a harming tipped arrow into the ground, pick it up, and then kill mobs with it while holding the looting sword. Picking up a tipped arrow in this way seems to reset the entire stack it is added to, so perhaps something with the inventory related to MCPE-70591 is happening?

          However, it could be that I'm just getting looting from the harming effect and not from the projectile directly. I'm not sure how the game handles that technically.

          [Mod] GoldenHelmet added a comment - I have found that I can get looting if I shoot a harming tipped arrow into the ground, pick it up, and then kill mobs with it while holding the looting sword. Picking up a tipped arrow in this way seems to reset the entire stack it is added to, so perhaps something with the inventory related to MCPE-70591 is happening? However, it could be that I'm just getting looting from the harming effect and not from the projectile directly. I'm not sure how the game handles that technically.

          Mr. K added a comment - - edited

          @Magdalena here is a hopefully easier explanation.

           

          How to reproduce:

          1. Make a superflat world.
          2. Gear up with a power V bow and a looting III sword and harming II arrows.  (EDIT: Harming arrows were suggested to ensure 1 hit kills but you should use normal arrows because of GoldenHelmet's comment below) 
          3. Place a mob spawner and use a ghast spawn egg to make a ghast spawner.
          4. Stand about 10-15 blocks away so you can quickly switch weapons while the arrows are flying. For the next step you must have the sword in hand when the arrow hits. 
          5. Fire an arrow at a ghast and quickly switch to the sword before the arrow hits. Do this repeatedly for a couple minutes. Keep a count of the number of ghasts killed. 
          6. Go pick up the loot.
          7. Optional: for controls, do the same number of kills by hitting the ghasts with the looting III sword, and again using the bow without switching weapons mid flight. Count the drops for each and compute the average number of drops per kill for each. 

          Expected result:

          The number of drops when switching to the looting III sword after launching the arrow will be the same on average as killing the mobs with the looting III sword directly. (This has been the behavior for as long as I can remember, up to and including version 1.17.10)

           

          Observed result:

          The number of drops is the same on average as killing without switching to the looting sword. 

           

          You can do this for any mob, but ghasts give a clear result because the gunpowder and ghast tears show a big difference in drops with or without looting.

          Mr. K added a comment - - edited @Magdalena here is a hopefully easier explanation.   How to reproduce: Make a superflat world. Gear up with a power V bow and a looting III sword and harming II arrows.  (EDIT: Harming arrows were suggested to ensure 1 hit kills but you should use normal arrows because of GoldenHelmet's comment below)  Place a mob spawner and use a ghast spawn egg to make a ghast spawner. Stand about 10-15 blocks away so you can quickly switch weapons while the arrows are flying. For the next step you must have the sword in hand when the arrow hits.  Fire an arrow at a ghast and quickly switch to the sword before the arrow hits. Do this repeatedly for a couple minutes. Keep a count of the number of ghasts killed.  Go pick up the loot. Optional: for controls, do the same number of kills by hitting the ghasts with the looting III sword, and again using the bow without switching weapons mid flight. Count the drops for each and compute the average number of drops per kill for each.  Expected result: The number of drops when switching to the looting III sword after launching the arrow will be the same on average as killing the mobs with the looting III sword directly. (This has been the behavior for as long as I can remember, up to and including version 1.17.10)   Observed result: The number of drops is the same on average as killing without switching to the looting sword.    You can do this for any mob, but ghasts give a clear result because the gunpowder and ghast tears show a big difference in drops with or without looting.

          Attached the video to repro. Keep in mind that you need to repeat the step on Java to compare the drop rates.
          2021-09-22 22-46-39_Trim.mp4

          [Helper] lillybeacon added a comment - Attached the video to repro. Keep in mind that you need to repeat the step on Java to compare the drop rates. 2021-09-22 22-46-39_Trim.mp4

          We could not reproduce the issue. 
          Could you provide a video of this happening? If the file is too big, upload it elsewhere and link it here. 

          [MCQA] v-magwar (Inactive) added a comment - We could not reproduce the issue.  Could you provide a video of this happening? If the file is too big, upload it elsewhere and link it here. 

          Prowl 8413 added a comment - - edited

          Added context. Trident killers using the looting effect are a required part of Minecraft Bedrock edition gameplay to balance the game further towards Java. Java edition has a much larger mob spawn rate, and mob cap, which allows all of it's hostile and passive mob farms to be incredibly faster than Bedrock Edition's farms. It also helps make up for the lack of Bedrock Edition not having sweeping edge, which allows for Java players to quickly kill large numbers of mobs with a single attack, getting the looting effect applied to all mobs killed. Bedrock does not have an equivalent to this.

          Trident killers are used to bridge this gap.

          Prowl 8413 added a comment - - edited Added context. Trident killers using the looting effect are a required part of Minecraft Bedrock edition gameplay to balance the game further towards Java. Java edition has a much larger mob spawn rate, and mob cap, which allows all of it's hostile and passive mob farms to be incredibly faster than Bedrock Edition's farms. It also helps make up for the lack of Bedrock Edition not having sweeping edge, which allows for Java players to quickly kill large numbers of mobs with a single attack, getting the looting effect applied to all mobs killed. Bedrock does not have an equivalent to this. Trident killers are used to bridge this gap.

            ItsRichHeart ItsRichHeart
            Votes:
            590 Vote for this issue
            Watchers:
            269 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: