This is a library of math related functions for your Minecraft project. Supported Minecraft versions: 1.15, 1.16 (some functions might also work in 1.14 - no warranty!)
MIT license (https://choosealicense.com/licenses/mit/)
Short summary:
- Do whatevery you want with my code
- Condition: Preserve the copyright notice containing my name ("NOPEname") attached to my code in your project (can be found inside the "LICENSE" file)
- Warranty: absolutely zero! My code doesn't do what you want it to do or even breaks something? Sorry, but... no warranty!
This project can be used as one, all-including datapack. However you can as well take parts (subfolders and/or single function files) from it to include them directly in your own datapacks. In that case you have to take care yourself for that it works as intended.
The library contains a bunch of different modules, which are separated in subfolders.
Run /function math:list
in chat to get a list of all installed modules (might not work if you don't use the full/original datapack).
Run /function math:help
or /function math:<module/function name>/help
to get more information about how to use this module/function (input-/output-behavior).
Modules can be initialized using /function math:<module name>/setup
, in case it does not happen automatically. /function math:setup
will call the setup functions of all modules at once.
Functions in private
subfolders are used by the interface functions. Do not call them directly.
Most modules will works as follows:
- Set input values as described in
<module/function name>\help.mcfunction
- Execute
/function math:<module name>/exe
- Access output values as described
<module/function name>\help.mcfunction
Contact me (NOPEname) on any platform you like (Twitter, PlanetMinecraft, Discord, etc.)