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
2018-12-21, 07:03 PM
2023-11-24, 10:04 AM
2023-11-24, 10:04 AM
2
4
ShotByCrossbow, crossbow, entity, piercing, trident
Minecraft 18w50a, 20w10a, 1.17.1
-