Alex Chipman
- Chipperdoodle
- chipperdoodle
- Europe/Stockholm
- Yes
- No
The final calculated position of projectiles is incorrect; this is important for the Passengers tag, because it means that when a projectile breaks, the Passenger is placed in the wrong position relative to the impact.
What I expected to happen:
When a Projectile Entity such as snowballs or enderpearls are summoned with entities riding them(Passengers), I expected the Projectile to break on a solid surface or hitbox, and the Passengers to be located at that surface or mob. Example: AreaEffectCloud is centered at edge of mob hitbox.What actually happened:
Projectiles visibly break before reaching target. When the Projectile breaks, the Passengers are located in front of the surface or mob hitbox, by a somewhat significant amount. Example: AreaEffectCloud is always far enough away that its hitbox never touches mob hitbox or wall, regardless of radius.Steps to Reproduce:
1:Set up a Command Block on top of level ground with either of the following commands:summon Snowball ~ ~1 ~-1 {Motion:[0d,0d,3d],Passengers:[{id:AreaEffectCloud,Duration:150,ReapplicationDelay:45,WaitTime:5,Radius:1.5f,RadiusOnUse:-0.5f,RadiusPerTick:f,Particle:"smoke",Effects:[
{Ambient:1,Amplifier:5,Id:20,ShowParticles:0,Duration:100}]}]}
summon ThrownEnderpearl ~ ~1 ~-1 {Motion:[0d,0d,-3d],Passengers:[
{id:Item}]}
2: Use F3+B to activate Hitbox viewing, to aid visibility.
3: Place a two block tall wall or two block tall mob with NoAI, in a direct line South of the command block.
4: Activate Command Block.This occurs regardless of direction.
The final calculated position of projectiles is incorrect; this is important for the Passengers tag, because it means that when a projectile breaks, the Passenger is placed in the wrong position relative to the impact.
What I expected to happen:
When a Projectile Entity such as snowballs or enderpearls are summoned with entities riding them(Passengers), I expected the Projectile to break on a solid surface or hitbox, and the Passengers to be located at that surface or mob. Example: AreaEffectCloud is centered at edge of mob hitbox.What actually happened:
Projectiles visibly break before reaching target. When the Projectile breaks, the Passengers are located in front of the surface or mob hitbox, by a somewhat significant amount. Example: AreaEffectCloud is always far enough away that its hitbox never touches mob hitbox or wall, regardless of radius.Steps to Reproduce:
1:Set up a Command Block on top of level ground with either of the following commands:summon Snowball ~ ~1 ~-1 {Motion:[0d,0d,3d],Passengers:[{id:AreaEffectCloud,Duration:150,ReapplicationDelay:45,WaitTime:5,Radius:1.5f,RadiusOnUse:-0.5f,RadiusPerTick:f,Particle:"smoke",Effects:[
{Ambient:1,Amplifier:5,Id:20,ShowParticles:0,Duration:100}]}]}
summon ThrownEnderpearl ~ ~1 ~-1 {Motion:[0d,0d,-3d],Passengers:[
{id:Item}]}
2: Use F3+B to activate Hitbox viewing, to aid visibility.
3: Place a two block tall wall or two block tall mob with NoAI, in a direct line South of the command block.
4: Activate Command Block.This occurs regardless of direction.
UPDATE:
Occurs even if projectile hits the floor instead of a mob/wall. Changing the first above command to summon an Arrow rather than a Snowball shows this better.This occurs consistently when firing a bow at any surface with less than a full charge, as judged by not having the critical hit particles. Does NOT occur to arrows fired with a full charge.
The final calculated position of projectiles is incorrect; this is important for the Passengers tag, because it means that when a projectile breaks, the Passenger is placed in the wrong position relative to the impact.
What I expected to happen:
When a Projectile Entity such as snowballs or enderpearls are summoned with entities riding them(Passengers), I expected the Projectile to break on a solid surface or hitbox, and the Passengers to be located at that surface or mob. Example: AreaEffectCloud is centered at edge of mob hitbox.What actually happened:
Projectiles visibly break before reaching target. When the Projectile breaks, the Passengers are located in front of the surface or mob hitbox, by a somewhat significant amount. Example: AreaEffectCloud is always far enough away that its hitbox never touches mob hitbox or wall, regardless of radius.Steps to Reproduce:
1:Set up a Command Block on top of level ground with either of the following commands:summon Snowball ~ ~1 ~-1 {Motion:[0d,0d,3d],Passengers:[{id:AreaEffectCloud,Duration:150,ReapplicationDelay:45,WaitTime:5,Radius:1.5f,RadiusOnUse:-0.5f,RadiusPerTick:f,Particle:"smoke",Effects:[
{Ambient:1,Amplifier:5,Id:20,ShowParticles:0,Duration:100}]}]}
summon
{id:Item}ThrownEnderpearl ~ ~1 ~-1 {Motion:[0d,0d,-3d],Passengers:[]}
2: Use F3+B to activate Hitbox viewing, to aid visibility.
3: Place a two block tall wall or two block tall mob with NoAI, in a direct line South of the command block.
4: Activate Command Block.This occurs regardless of direction.
UPDATE:
Occurs even if projectile hits the floor instead of a mob/wall. Changing the first above command to summon an Arrow rather than a Snowball shows this better.This occurs consistently when firing a bow at any surface with less than a full charge, as judged by not having the critical hit particles. Does NOT occur to arrows fired with a full charge.
The final calculated position of projectiles is incorrect; this is important for the Passengers tag, because it means that when a projectile breaks, the Passenger is placed in the wrong position relative to the impact.
What I expected to happen:
When a Projectile Entity such as snowballs or enderpearls are summoned with entities riding them(Passengers), I expected the Projectile to break on a solid surface or hitbox, and the Passengers to be located at that surface or mob. Example: AreaEffectCloud is centered at edge of mob hitbox.What actually happened:
Projectiles visibly break before reaching target. When the Projectile breaks, the Passengers are located in front of the surface or mob hitbox, by a somewhat significant amount. Example: AreaEffectCloud is always far enough away that its hitbox never touches mob hitbox or wall, regardless of radius.Steps to Reproduce:
1:Set up a Command Block on top of level ground with either of the following commands:summon Snowball ~ ~1 ~-1 {Motion:[0d,0d,3d],Passengers:[{id:Area_Effect_Cloud,Duration:150,ReapplicationDelay:45,WaitTime:5,Radius:1.5f,RadiusOnUse:-0.5f,RadiusPerTick:f,Particle:"smoke",Effects:[
{Ambient:1,Amplifier:5,Id:20,ShowParticles:0,Duration:100}]}]}
summon Enderpearl ~ ~1 ~-1 {Motion:[0d,0d,-3d],Passengers:[
{id:Item}]}
2: Use F3+B to activate Hitbox viewing, to aid visibility.
3: Place a two block tall wall or two block tall mob with NoAI, in a direct line South of the command block.
4: Activate Command Block.This occurs regardless of direction.
UPDATE:
Arrows fired from a bow that is not fully charged, or summoned with a command and given motion, will 'jump' slightly after they land. Fully charged arrows do not. It isn't clear whether this is related, but it may be because it looks like the position calculations correcting themselves.
Updated affected versions. Ran all of my tests again, no change in results. Updated commands to reflect the changes to entity names in 1.11 snapshots.