Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SHCMTrig is a trigonometry tool that allows to do tasks such as
- Sine and Cosine along with a few other features that might help.
- Before doing anything, Make sure you used "/function shcmtrig:setup"
- to allow SHCMTrig to place it's essentials into the world.
- Note that the basic functions(sine and cosine) take 0 ticks to run,
- Meaning you can use them within other functions and chain commands!
- To use the basic functions(sine and cosine) you need to set the score
- of x on the SHCMTrig objective(x is a fake player) to the number you'd
- like to use the function on with the units being the first decimal
- place of the angle(e.g. 90.0 degrees = 900 and -378.325 degrees = -3783).
- Then, Run either "/function shcmtrig:sine" or "/function shcmtrig:cosine".
- Now, The score of 'a' on the SHCMTrig objective is the answer and is
- between -100 and 100.
- Another thing is you can add a manual offset by changing the score of
- 'offset' on the SHCMTrig objective.
Advertisement
Add Comment
Please, Sign In to add comment