index - Uberi/MineTest-API GitHub Wiki

Minetest API

Methods

EnvRef

Basically ServerEnvironment and ServerMap combined. Can be gotten via minetest.env

NodeTimerRef

Can be gotten via minetest.env:get_node_timer(pos)

ObjectRef

Moving things in the game are generally these (basically reference to a C++ ServerActiveObject)

LuaEntitySAO

These are non-player moving things in the game. It inherits all the properties of ObjectRef

Player

These are players in the game. It inherits all the properties of ObjectRef

InvRef

Reference to an inventory

ItemStack

A stack of items. Can be created via ItemStack(itemstack or itemstring or table or nil)

PseudoRandom

A pseudorandom number generator. Can be created via PseudoRandom(seed)

PerlinNoise

A perlin noise generator. Can be created via PerlinNoise(seed, octaves, persistence, scale) or minetest.env:get_perlin(seeddiff, octaves, persistence, scale)

Afterword

Minetest Links

Lua Links

We're Social

Chat with us

There are developers, modders, themers, server admins and players on IRC at freenode on the channel #minetest (chatlogs)

Webchat

⚠️ **GitHub.com Fallback** ⚠️