In a command block map that uses camera easings for dramatic effects, I came across a bug when using the /camera command. Specifically, in the /camera’s ease argument, using the easing method “in_out_back” in the command causes a massive lag spike and/or crashes the game when it finishes easing.
Steps for recreation:
Open a new or existing Minecraft world.
Type in the following command to visualize the easing toward your player character
/camera @s set minecraft:free pos ~ ~1.5 ~
Type another command. Use the ease type “in_out_back” or “out_back” to ease towards your player character’s position. To my knowledge, these are the two of five easing functions that I have tested that have issues
/camera @s set minecraft:free ease 1.2 in_out_back pos ~ ~1.5 ~
Attached are examples of the in_out_back easing function causing a huge lag spike and then crashing the game. There is also another video attached that tests out easing functions in_out_circ and in_out_sine, which both are working without any of these issues.
Linked issues
is duplicated by 4
Attachments
Comments 0
No comments.