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
👍