Page 1 of 1
Utils: A util collection for other mod makers.

Posted:
Sat Sep 12, 2015 13:40
by BobbyBonsaimind
Utils is a util collection aimed to provide utilities, tools and shortcuts for mod makers.
A complete overview of the API can be found
in the generated documentation.
Version: There is no versioning/release scheme in place.
License: Utils is licensed under 2-clause BSD.
Source:
Re: Utils: A util collection for other mod makers.

Posted:
Sat Sep 12, 2015 16:15
by everamzah
Thanks!
Re: Utils: A util collection for other mod makers.

Posted:
Sat Sep 12, 2015 20:26
by Ben
Goodness, that's a lot! Thanks, I'll be sure to check these!
Re: Utils: A util collection for other mod makers.

Posted:
Tue Sep 15, 2015 01:53
by Sokomine
The link to the documentation seems to be broken. It might even be a good idea to list the features here on the forum so that more people can see what it's good for.
Re: Utils: A util collection for other mod makers.

Posted:
Tue Sep 15, 2015 18:06
by rubenwardy
It seems to require Javascript. Here is the index:
stringutil Various utility functions for working with strings.
noisemanager The NoiseManager manages seeds and creates PRNG of various kinds, always with a new, unique seed.
nodeutil Various functions related to nodes.
mapmanipulator The MapManipulator is a thin wrapper around the VoxelManip object provided by minetest.
fisheryates An implementation of the Fisher-Yates algorithm, which allows to access an array in a random or pseudo-random order.
textureutil Util for various functions regarding textures.
blockutil Various functions related to blocks/chunks.
tango The tango color scheme.
inventoryutil A util for working with inventories.
scheduler The Scheduler allows you to easily schedule functions for execution.
blockedcache A simple cache for caching values based on x and z coordinates.
mathutil Various mathematical functions.
log A simple utility for logging purposes.
arrayutil Various utility functions for working with arrays.
directmapmanipulator The DirectMapManipulator is similiar to the MapManipulator, except that it does not use the VoxelManip object, but the Minetest get_node/set_node functions.
rotationutil Various functions for rotating nodes.
settings Encapsulates the settings API of minetest and extends it with further functions.
pathutil Various utility functions for working with paths.
wallmountedutil Various functions and constants for working with the wallmounted value.
interpolate Various mathematical functions for interpolating values.
transform Various mathematical functions for transforming values.
test A simple utility for testing values and running unit tests.
facedirutil Various functions and constants for working with the facedir value.
constants Various constants.
list A simple list that keeps the order in which the items are added to it.
stopwatch Allows to easily time blocks of code.
color A simple container for a color and its hex string representation.
tableutil Various utility functions for working with tables.
BobbyBonsaimind, if you use the gh-pages branch you can host HTML files from GitHub.
Re: Utils: A util collection for other mod makers.

Posted:
Wed Sep 16, 2015 15:44
by BobbyBonsaimind
I would have loved to avoid a solution which makes me copy something by hand...well, maybe I find a way to update the gh-pages branches automatically with the build file, will see.
Re: Utils: A util collection for other mod makers.

Posted:
Wed Sep 16, 2015 22:09
by eduardomezencio
This looks great!
Re: Utils: A util collection for other mod makers.

Posted:
Sat Sep 19, 2015 10:23
by BobbyBonsaimind
I've updated the link to use gh-pages, so it should now work for everyone.