mojira.dev
MC-313735

The game crashes when shooting bows with enchantments that add extremely large numbers of projectiles

The Bug:

The game crashes when shooting bows with enchantments that add extremely large numbers of projectiles.

Crossbows crash the same way when they are loaded, although MC-308579 limited how many projectiles they keep.

Steps to Reproduce:

  1. Create a new world with the attached data pack.

  2. Give yourself a bow with the enchantment from the data pack by using the command provided below.

    /give @s minecraft:bow[minecraft:enchantments={"test:countless_arrows":1}]
  3. Obtain some arrows.

  4. Draw the bow and let go.

  5. Observe if the game crashes.

Observed Behavior:

The game crashes.

Expected Behavior:

The game would not crash.

Attachments

Comments 2

Avoma

(Unassigned)

Unconfirmed

Crash, Data Packs

26.3, 26.4 Pre-Release 2

Retrieved