Utils: A util collection for other mod makers.

BobbyBonsaimind
Member
 
Posts: 97
Joined: Tue Apr 14, 2015 19:32
GitHub: RobertZenz
IRC: Robert_Zenz
In-game: Bobby

Utils: A util collection for other mod makers.

by BobbyBonsaimind » Sat Sep 12, 2015 13:40

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:
Last edited by BobbyBonsaimind on Sat Sep 26, 2015 09:20, edited 3 times in total.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: Utils: A util collection for other mod makers.

by everamzah » Sat Sep 12, 2015 16:15

Thanks!
 

User avatar
Ben
Member
 
Posts: 157
Joined: Tue Mar 31, 2015 20:09

Re: Utils: A util collection for other mod makers.

by Ben » Sat Sep 12, 2015 20:26

Goodness, that's a lot! Thanks, I'll be sure to check these!
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: Utils: A util collection for other mod makers.

by Sokomine » Tue Sep 15, 2015 01:53

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.
A list of my mods can be found here.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Utils: A util collection for other mod makers.

by rubenwardy » Tue Sep 15, 2015 18:06

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.
 

BobbyBonsaimind
Member
 
Posts: 97
Joined: Tue Apr 14, 2015 19:32
GitHub: RobertZenz
IRC: Robert_Zenz
In-game: Bobby

Re: Utils: A util collection for other mod makers.

by BobbyBonsaimind » Wed Sep 16, 2015 15:44

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.
 

User avatar
eduardomezencio
Member
 
Posts: 73
Joined: Tue Sep 08, 2015 17:48
GitHub: eduardomezencio

Re: Utils: A util collection for other mod makers.

by eduardomezencio » Wed Sep 16, 2015 22:09

This looks great!
 

BobbyBonsaimind
Member
 
Posts: 97
Joined: Tue Apr 14, 2015 19:32
GitHub: RobertZenz
IRC: Robert_Zenz
In-game: Bobby

Re: Utils: A util collection for other mod makers.

by BobbyBonsaimind » Sat Sep 19, 2015 10:23

I've updated the link to use gh-pages, so it should now work for everyone.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 12 guests

cron