mirror of
https://github.com/OgelGames/fakelib.git
synced 2024-11-10 14:20:18 +01:00
Minetest fake userdata library
.github/workflows | ||
.gitattributes | ||
.luacheckrc | ||
API.md | ||
init.lua | ||
inventory.lua | ||
LICENSE | ||
metadata.lua | ||
misc.lua | ||
mod.conf | ||
player.lua | ||
README.md | ||
tests.lua |
Minetest fake userdata library [fakelib]
Overview
This mod is a code library for creating fake userdata (players, inventories and metadata), replicating their functionality as closely as possible.
Usage
Simply add fakelib
to your mod's dependencies, and call any of the API functions from your code.
See API.md for detailed documentation.
Installation
Download the master branch or the latest release, and follow the usual installation steps.
Alternatively, you can download and install the mod from ContentDB or the online content tab in Minetest.
License
All code is licensed under the MIT License.