Community listing page, reviews here may not be monitored by the author.
Moxlib
No reviews yet
A library of many helpful functions, tags and predicates, to improve the datapack developer's day.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Moxlib
Moxvallix's Datapack Creation Library
Moxlib aims to make Datapack creation fun and enjoyable.
With a predictable API, and a focus on data driven functionality, Moxlib serves as an excellent foundation to any Datapack project.
Moxlib aims to run as little as possible on the tick function. Most functions in the pack only run when they are called.
Another focus of the pack is instantaneous functions. Most of the functions in the pack have been designed to run in a single tick, and do not use schedules, or other timer based methods.
Moxlib is licensed under the GNU LGPL, meaning you are free to use it in your own Datapacks, themselves under any license, but any changes you make to Moxlib must be released under the terms of the LGPL. See LICENSE.md for full license.
Suggestions and contributions welcomed!
The API
Conventions
Any function outside of the moxlib:api folder is considered private, and is not supported.
Functions that take in data storage as an input, will read and write data at the same path you would use to call the function.
Eg. /function moxlib:api/helpers/block/get writes to /data get storage moxlib:api/helpers/block/get
However, the test and tui modules are an exception, using more semantic language for their
respective tasks. See their individual documentations.
Functions will usually take in a target. Think of this as the main input. It is the piece of
data that the function will manipulate. Functions will occasionally ask for other data as well.
Functions, if they output anything, will write to output. Optionally, they might also record
their success to a success tag, although not all functions implement this.
Some functions and modules are marked as "experimental". These require Moxlib Exp to function.
Modules
Helpers
The helpers module contains small, miscellaneous, but helpful functions.
These functions are too small and specific to warrant a module of their own.
Data
The data module contains functions specifically for working with arrays of NBT data.
Test
The test module contains functions for testing other functions.
Currently, it can only test to see that a function returned the correct value.
TUI
The TUI module allows for easy creation of data driven TUIs.
Math
The Math module provides some helpful math functions.
Player
The Player module exposes some helpful information about the player.
String
The String module provides functions to manipulate strings.
Dimension
Moxlib provides a dimension for storing and accessing blocks. (Requires Moxlib Exp)
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers