Offset in projectile behavior affects projectile shooting direction
Windows_Minecraft - Release_907292
(RC 1.4.4.0)
Summary:
Using Behavior files to change the shooting location of a projectile makes the projectile shoot and miss the target. It seems that the shooting trajectory to the target is calculated before the offset, which makes the projectile miss by the same offset. This behavior is more apparent when the distance is greater, such as is necessary when creating a large mob.
Impact:
Changing the shooting location of projectiles makes them inaccurate, which makes the feature not worth using.
Repro Steps:
- Create a behavior pack with the arrow projectile and associate it with a world.
- Open the arrow.json behavior file and edit the offset in all spots to 2 in the y direction:
"offset": [
0,
2,
0
]
- Load the world.
- Spawn a skeleton.
- Enter survival mode.
- Notice how the skeleton shoots the arrow over your head.
Observed Results:
The skeleton misses the player with the arrow.
Expected Results:
The projectile should properly target the player from the new release point.
Screenshots/Videos attached:
No
2018-05-12, 07:48 AM
2018-08-28, 02:14 AM
2018-08-28, 02:14 AM
0
0
-