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:
Create a new world with the attached data pack.
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}]Obtain some arrows.
Draw the bow and let go.
Observe if the game crashes.
Observed Behavior:
The game crashes.
Expected Behavior:
The game would not crash.
Attachments
Comments 2
[media][media]