Affects Version/s: 1.15.2, 20w17a
Fix Version/s: None
Environment:Operating system: Windows 10 64-bit 2004 (OS Build 19041.208)
Java: 1.8.0_51 (Bundled with the release)
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:
- Create a fresh Minecraft world.
- From the chat, use the following command.
- Summon a spider using the command /summon or a spawn egg.
- Attempt to damage the mob using the bow.
- Observe the problem.
When attempting to damage the mob using the bow, the game instantly crashes.
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.