Suggestion Open

The "piercelevel" attribute does not work in the "shoot" mechanic.

#5955 opened by Unknown 1 year ago

Unknownreported this suggestion

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!

Unknowncommented

Confirmed - The Shoot Mechanic's "PierceLevel" attribute is a little funky. It seems like the arrow CAN pierce, but it still knocks the arrow back, instead of just piercing through the mob and maintaining it's velocity.

Video of what's happening: https://youtu.be/wIiYlcPSbNA

Hope this helps.

Sign in to join the discussion.