This plugin adds utils for complex calculations.
Random Source
Random Source is required to get random numbers. Seeds allow you to get those with the same sequence of numbers.
Vector
Vector is a variable, which can have 3 numbers. The procedure "Create vector" allows you to create a vector from 3 numbers.
In order to get each of numbers, use the procedure "Get X/Y/Z of vector."
To do easy operations for vectors, these procedure are available.
The operations are done for each X/Y/Z component of numbers in vectors. For example, "(0, 1, 2) + (3, 4, 5)" is "(3, 5, 7)."
For mathematical calculations, the following procedures are available.
For X/Y/Z coordinates and yaw/pitch angles, these follow Minecraft's coordinate system.
Vector List
Vector List allows you to store vectors using arrays.
In order to manage vectors, Index numbers are required.
Vector Map
Vector Map allows you to store vectors using string keys.
Changelog:
v1.0.6
Some fixes and improvements
v1.0.5
Some fixes and improvements
Information:
This plugin supports Forge 1.19.2 / 1.19.4 / 1.20.1 / NeoForge 1.20.4
This plugin supports MCreator 2023.4 or above
I have been using this plugin for quite a while, and it's honestly the best one on here in my opinion. I don't even use the majority of the functions of the plugin like interpolation and dot products and all that. Just having the ability to save vectors as a variable and even a vector list, is quite a treat. I can see how other plugins may be considered better, like the Geckolib plugin, but the fact is that this plugin uses a much more necessary feature to the development of a mod that even newbies to the community can figure out. I am purposefully holding back on updating my MCreator until I know that this plugin works on 2024.1, or is updated to 2024.1.
If anyone knows that this plugin works on 2024.1, then it would be nice if you could let me know.
Thanks for making this!