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

Weapons with "Bane of arthropods" enchantment to the maximum level crash the game

XMLWordPrintable

    • Unconfirmed
    • (Unassigned)

      When testing with my overpowered kit, I noticed that killing spiders with my bow crashes the game instantly.

      After further inspection, I concluded that having the enchantment "bane of arthropods" to any weapons that can throw projectiles such as bows and tridents with the maximum level allowed by the game according to the wiki which is 2147483647 has the potential to cause the problem mentioned previously. When killing any arthropods mods including spiders and bees using the item, the game will crash.

      Both 20w17a (1.16) and 1.15.2 are affected by the problem.

      Steps to Reproduce:

      1. Create a fresh Minecraft world.
      2. From the chat, use the following command.
        /give @p bow{Enchantments:[{id:bane_of_arthropods,lvl:2147483647}]} 1
      1. Summon a spider using the command /summon or a spawn egg.
      2. Attempt to damage the mob using the bow.
      3. Observe the problem.

      Observed Results:
      When attempting to damage the mob using the bow, the game instantly crashes.

      Expected Results:
      The bow should work the same way as a regular non-enchanted bow as "bane of arthropods" is not an enchantment designed for the item.

      Screenshots/Videos attached: Video for step-by-step reproduction

      Notes: Tridents also work as previously mentioned. Tried other projectile items including eggs and snowballs and they worked as intended.

            Unassigned Unassigned
            PhilLB1239 Flame5537
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: