The "piercelevel" attribute does not work in the "shoot" mechanic.
Greetings!
This has been a long-standing issue, but it seems that the piercelevel attribute does not work in the shoot mechanic.
Setting any number for piercelevel will not cause arrow-type projectiles to pierce entities.
This can be fixed by setting the {PierceLevel:3b} attribute to the arrow, where "3" is the pierce level.
Example mechanic for reproducing the issue:
- shoot{
type=ARROW;velocity=0.5;piercelevel=3;
damage=20;i=1;md=256;hr=0.5;vr=0.5;gravity=false} @TargetLocation
Expected behavior:
PierceLevel should allow the arrow to pierce X number of mobs, where X is the PierceLevel.
Thank you for your time!