mojira.dev
MC-271757

In Creative Mode, throwing a Trident with an intangible_projectile component removes an intangible_projectile component from a Trident you are holding

The Bug

In Creative Mode, throwing a Trident with an intangible_projectile component removes an intangible_projectile component from a Trident you are holding.

How to Reproduce

  1. Run commands.

    /gamemode creative @s
    /give @s minecraft:trident[minecraft:intangible_projectile= {}]
  2. Run the command and observe that Trident has an intangible_projectile component.

    /data get entity @s SelectedItem.components
  3. Throw a Trident.

  4. Run the command.

    /data get entity @s SelectedItem.components

    → ❌ intangible_projectile component has been removed.

Expected Behavior

intangible_projectile component hasn’t been removed.

Comments 1

myhttps

(Unassigned)

Community Consensus

Platform

Normal

Commands, Items

1.20.6, 24w18a, 24w19b, 24w20a, 24w21b, 1.21 Pre-Release 1, 1.21, 1.21 Release Candidate 1, 25w02a

1.21.5 Pre-Release 1

Retrieved