Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Axolotl Pitch Update

Open Absolutionism opened this issue 1 year ago • 0 comments

Expected behavior

When teleporting an axolotl using both vanilla commands and with Skript, to a location with a modified pitch. The pitch should be retained in the axolotl. Changing the "Rotation" NBT of the axolotl has the same results

Observed/Actual behavior

Axolotl's location and yaw are updated but not pitch. However, when leaving the server (my localhost) and joining back, the axolotl is updated to the pitch. For vanilla teleport command, Skript teleport, and changing the Rotation NBT.

Steps/models to reproduce

Spawn an axolotl with NoAI and do any below

  • Vanilla Teleport command with a provided pitch
  • Manually change the Rotation NBT

With Skript + SkBee command /test: trigger: spawn axolotl at player: set ai of entity to false set {_loc} to location of player set pitch of {_loc} to 90 teleport last spawned axolotl to {_loc}

Plugin and Datapack List

javaw_8L7mVfmh4y

Paper version

javaw_CMtaZ6lfen

Other

Teleporting the axolotl to a location with a modified yaw works, just not the pitch. When initially spawning an axolotl at a location with a modified pitch, the axolotl does retain the pitch. However can not be changed after spawn. When attempting to change the pitch, it does not update, but leaving and rejoining updates it. (localhost)

Absolutionism avatar Apr 24 '24 22:04 Absolutionism