Mojira Archive
MCM-1097

offset not working for projectiles summoned through "minecraft:spawn_entity"

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 the "minecraft:spawn_entity" component.
(My guess is the position and angle of the projectile are set by the spawn_entity 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-1096.

Impact: This prevents modifying the position offset and the angle offset of projectiles summoned through "minecraft:spawn_entity".

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. notice how the arrows don't have any offset when shot

Expected result

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

Actual result

The arrows don't have any offset.

Unresolved

ornariece

2020-06-26, 05:03 PM

2020-06-30, 12:47 AM

0

1

Future Release

-