mojira.dev
MC-270297

Non-tipped arrows with potion_contents component apply effects and are not consumed by Infinity bows

Summary
MC-270296 can be used to obtain a regular/non-tipped arrow with potion effects. This arrow, when shot, applies the said effects. In addition, shooting such arrow does not consume the arrow when the bow used is enchanted with Infinity, unlike with tipped arrows. The two, combined together, can be used to shoot infinite number of arrows with effects (which was previously impossible), breaking the game balance.

Note: although questionable, this feature might be intentionally designed as such for use by data pack makers.

Steps to Reproduce

  1. Get a regular arrow with potion_contents component (via ominous trial spawner or command)

    /give @s arrow[minecraft:potion_contents="poison"]
  2. Get a bow

  3. Shoot the arrow

  4. Get an Infinity-enchanted bow

  5. Shoot the arrow

Expected Result
Either the arrow does not apply effects, or the arrow is consumed when using Infinity bows.

Actual Result
The arrow applies effects and is not consumed when using Infinity bows.

Linked issues

Attachments

Comments 7

What is the command needed to spawn the bow in step 1?

I was more asking how do I get the potion_contents component onto the bow?

In case it wasn't clear, here is the command: /give @s arrow[minecraft:potion_contents="poison"]

Awesome thanks. I'll look at reproducing this soon!

Can confirm! Also affects 24w14a

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

apple502j

(Unassigned)

Community Consensus

(Unassigned)

24w13a, 24w14a

Retrieved