mojira.dev
MC-105924

Spectral arrow doesn't show duration in the item's lore

The Bug

Unlike any potion, splash potion, lingering potion or tipped arrow (outside of the ones with instant effects), the spectral arrow shows no duration of the potion effect, nor that it gives an effect.

Steps to Reproduce

  • Give yourself a spectral arrow.

    /give @s minecraft:spectral_arrow
  • Open your inventory and hold your mouse cursor over it to display the item's tooltip.

  • Look at the item's lore closely.

Observed Behavior

Spectral arrows do not display their potion effect along with its duration in its item's lore.

Expected Behavior

Spectral arrows would display their potion effect along with its duration in its item's lore.

Code Analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 19

Can confirm for 16w32b.

How does one get the title of Moderator or Helper?

I think the bug is not a bug, but simply how it's made. Spectral arrows are their own special arrow type (they're not tipped arrows), so you can't change the duration, nor can you change the effect (without commands).

And SLScool, is a bug report really the best place to ask that question?

Hobbit2469, I would say the same thing, except that I've been on the wiki, and I've seen many updates fix many bugs I never thought were issues, and I'll say the same thing about this one.

Also, do you know any better place to ask?

9 more comments

Can confirm this behavior in 21w40a. Here are some extra details regarding this problem.

The Bug:

Spectral arrows do not display their potion effect along with its duration in its item's lore.

Steps to Reproduce:

  • Give yourself a spectral arrow.

/give @s minecraft:spectral_arrow
  • Open your inventory and hold your mouse cursor over it to display the item's tooltip.

  • Look at the item's lore closely.

Observed Behavior:

Spectral arrows do not display their potion effect along with its duration in its item's lore.

Expected Behavior:

Spectral arrows would display their potion effect along with its duration in its item's lore.

Can confirm in 1.18.1.

Can confirm in 1.18.2.

Can confirm in 1.19 and 22w24a.

Can confirm in 1.19.2.

user-f2760

Uriel Salischiker

(Unassigned)

Confirmed

Gameplay

Normal

UI

arrow, duration, effect, spectral-arrow

Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 1.11 Pre-Release 1, ..., 1.21.3, 1.21.5, 1.21.6, 1.21.7, 1.21.8

Retrieved