Trident entities can have the "ShotFromCrossbow" and "PiercingLevel" tags, but they don't affect them
See summary. This bug probably occurs due to the trident's entity being derived from the arrow entity.
How to reproduce:
- Summon 3 creepers in a row that have NoAI set
- Put down a repeating command block, set it to "Always Active", and put in the following command:
data merge entity @e[type=trident,limit=1] {PierceLevel:3} - Throw the trident at the creepers, then replace trident with arrow
- Shoot the arrow at the creepers, they all get hurt
- Then replace the command in the command block with the following command:
data merge entity @e[type=trident,limit=1] {ShotFromCrossbow:1} - Throw the trident
Linked Issues
Created Issue:
Trident entities can have the "ShotFromCrossbow" and "PiercingLevel" tags / "PiercingLevel" tag doesn't affect thrown tridents
See summary. This bug probably occurs due to the trident's entity being derived from the arrow entity.
How to reproduce:
- Summon 3 creepers in a row that have NoAI set.
- Put down a repeating command block, set it to "Always Active", and put in the following command:
data merge entity @e[type=trident,limit=1] {PierceLevel:3}
- Throw the trident at the creepers, then replace trident with arrow
- Shoot the arrow at the creepers, they all get hurt
- Then replace the command in the command block with the following command:
data merge entity @e[type=trident,limit=1] {ShotFromCrossbow:1}
- Throw the trident
Added Attachments:
Changed Summary:
Trident entities can have the "ShotFromCrossbow" and "PiercingLevel" tags/ "PiercingLevel" tagdoesn't affect thrown tridentsTrident entities can have the "ShotFromCrossbow" and "PiercingLevel" tags, but they don't affect them
Removed Attachments:
Added Mojang Priority: Normal
Added Affects Versions: 20w10a
Changed Description:
See summary. This bug probably occurs due to the trident's entity being derived from the arrow entity.
How to reproduce:
- Summon 3 creepers in a row that have NoAI set.
- Put down a repeating command block, set it to "Always Active", and put in the following command:
data merge entity @e[type=trident,limit=1] {PierceLevel:3}
- Throw the trident at the creepers, then replace trident with arrow
- Shoot the arrow at the creepers, they all get hurt
- Then replace the command in the command block with the following command:
data merge entity @e[type=trident,limit=1] {ShotFromCrossbow:1}
- Throw the trident
See summary. This bug probably occurs due to the trident's entity being derived from the arrow entity.
How to reproduce:
- Summon 3 creepers in a row that have NoAI set
- Put down a repeating command block, set it to "Always Active", and put in the following command:
data merge entity @e[type=trident,limit=1] {PierceLevel:3}- Throw the trident at the creepers, then replace trident with arrow
- Shoot the arrow at the creepers, they all get hurt
- Then replace the command in the command block with the following command:
data merge entity @e[type=trident,limit=1] {ShotFromCrossbow:1}- Throw the trident
Added Affects Versions: 1.17.1
Added Linked Issues:
duplicates
Can confirm in 21w05b.
Can confirm in 1.17.1.