Add some API info

This commit is contained in:
Wuzzy 2017-01-10 03:15:45 +01:00
parent 7e4101779a
commit 2545790aa9
2 changed files with 49 additions and 0 deletions

46
API.txt Normal file
View File

@ -0,0 +1,46 @@
# API
This document is a WORK IN PROGRESS.
Currently, it only contains some information about the used groups.
Groups
dig_by_water=1
Blocks with this group will drop when they are near flowing water
Groups (mostly) used for crafting recipes
sand=1
Sand (any color)
sandstone=1
(Yellow) sandstone and related nodes (chiseled and the like) (only full blocks)
redsandstone=1
Red sandstone and related nodes (chiseled and the like) (only full blocks)
quartz_block=1
Quartz Block and variants (chiseled, pillar, etc.) (only full blocks)
tree=1
Oak Wood, Birch Wood, etc. (tree trunks)
wood=1
Oak Wood Planks, Birch Wood Planks, etc. (only full blocks)
wood_slab=1
Slabs made out of wooden planks
coal=1
Coal of any kind (coal lump)
Other groups
water=1
Water
lava=1
Lava

View File

@ -30,6 +30,9 @@ GravGun & Obani for Help in Build struct
Celeron55 for creating Minetest Celeron55 for creating Minetest
Bob Lennon because it's a pyro-barbare Bob Lennon because it's a pyro-barbare
Info for programmers
--------------------
You find interesting and useful infos in API.txt.
License of media (textures and sounds) License of media (textures and sounds)
-------------------------------------- --------------------------------------