
[Suggestion]: Method for scripts (CT, Kube) to retrive the actual speed of the Wither Storm
pinkygrocket opened this issue ยท 2 comments
Guidelines
- By checking this box, I am saying that I have read the guidelines and believe to be following them to the best of my ability
Description of feature request
As of writing, retrieving the Wither Storm's delta movement/velocity/speed, either through deltaMovement or the Motion NBT tag, does not match the Wither Storm's actual speed. Namely, the chasing speed in deltaMovement/Motion tag is always 0.5723270699596971 (assuming the Wither Storm is flying exactly straight on the X or Z axis), ignoring speed changes due to phase changes. According to Nazaru, the Wither Storm's motion is overridden to not cause TPS issues, causing the incorrect reported values. While this makes sense, there still should be a method for scripts to retrieve the Wither Storm's actual speed.
Why: It would be useful for packdev development, debugging, and documentation to see the Wither Storm's chase speed.
https://gist.github.com/pinkygrocket/989721a050217187db2693ba08dea5f1 Here's the CraftTweaker script I was using. This script will post the following to the CraftTweaker log every two seconds (200 ticks):
- The Wither Storm's delta movement on the XZ axis
- The XZ values of the Motion tag in the NBT data for the Wither Storm
In the test world I was doing, I teleported 10,000 blocks away on the Z axis, summoned the Wither Storm at Phase 4 at 0, 0, then messed with different phases.
Here's the relevant CraftTweaker documentation page.
(For context, I was trying to use CraftTweaker to get exact numbers on the Wither Storm's speed during chases at different phases for wiki documentation.)