Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-133153

High looting values apply even if the weapon is not used to do the kill

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.13-pre6
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      OS:Windows 10 April Update

      Java version: 1.8.0u51

       

       

       
    • Confirmation Status:
      Unconfirmed

      Description

      I've messing around lately with insanely highe enchantment values(lvl 32767 more exactly) and I've discovered a weird bug that applies the high looting value even though you're not using that weapon. Now before you reject this bug saying "Who will ever get that enchantment level on a sword?". I have a reason for this.You see maybe somebody would compile a datapack that if a player does something, it would be rewarded with an OP box or something and in that box it would contain that sword and a op potion, and it would be really weird that this happens.

      Anyway, without any more talking, let's see how to reproduce this bug

       

      Step 1. Get the mentioned sword

      Type in chat: /give @p diamond_sword{Enchantments:[

      {id:looting,lvl:32767}

      ]} 1

      Step 2. Get the potion

      Type in chat: /give @s minecraft:splash_potion{CustomPotionEffects:[

      {Id:6,Amplifier:28,ShowParticles:0b}

      ,{Id:7,Amplifier:28,ShowParticles:0b}],CustomPotionColor:16712972,display:{Name:"

      {\"text\":\"Potion\"}

      "}} 1

      Step 3. Put sword in main-hand and potion in off-hand

      Step 4. Go to a mob that its drops are affected by the looting enchant(Zombies,creepers,etc) and RIGHT-CLICK.

      Yeah, it's verry weird and it should be fixed

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bpetru05 Bogdan Petru
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: