Mojira Archive
MCM-1096

offset not working for projectiles summoned through an interaction

Verification builds: 1.16.20.50 Release build

Summary: The "offset" parameter and the "angle_offset" parameter in the "minecraft:projectile" component don't work for projectiles summoned through an interaction in the "minecraft:interact" component.
(My guess is the position and angle of the projectile are set by the interact component AFTER the offset has been set, overwriting the position (and angle) with the default position (and angle).)
Might be related to MCM-1095 and MCM-1097.

Impact: This prevents modifying the position offset and the angle offset of projectiles summoned through an interaction.

Reproduction steps:

  1. create a world and add the Behavior Pack and Resource Pack attached to this report
  2. summon/spawn an armor_stand
  3. right click the armor_stand and notice how the arrow doesn't have any offset when shot

Expected result

The arrow has a position offset of +5 blocks in each direction, and an angle offset of 45 degrees.

Actual result

The arrow doesn't have any offset.

Unresolved

ornariece

2020-06-26, 04:40 PM

2020-06-30, 12:36 AM

0

1

Future Release

-