mojira.dev
MC-167166

Directional co-ordinates taken relative to arrows output values flipped in the X and Y directions.

Is an issue for all directional co-ordinates executed as an arrow.

Screenshots were all taken by firing an arrow into a block and running the following command:

/execute as @e[type=arrow,limit=9,nbt={inGround:1b}] at @s run summon armor_stand ^ ^ ^5 {NoGravity:1b,Marker:1b,Invisible:0,Tags:["A"]}

 

Expected behaviour:

Command would result in the arrow always pointing towards the summoned armour-stand.

 

Current behaviour:

Arrow only points towards summoned armour-stand in the Z direction

Arrow only points directly away from the armour-stand in the X and Y direction

 

Instructions to replicate

  1. fire an arrow into a block

  2. Run the following command:

/execute as @e[type=arrow,limit=9,nbt={inGround:1b}] at @s run summon armor_stand ^ ^ ^5 {NoGravity:1b,Marker:1b,Invisible:0,Tags:["A"]}

NOTE: Directional co-ordinates appear to work correctly when executed as any other entity.

Linked issues

Attachments

Comments 0

No comments.

bigrin

(Unassigned)

Unconfirmed

(Unassigned)

command

1.14.4, 1.15 Pre-release 5, 1.15.1 Pre-release 1

Retrieved