mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Change API.txt to API.md format
This commit is contained in:
parent
92c101d731
commit
e44b0b85e3
3 changed files with 32 additions and 60 deletions
31
API.md
Normal file
31
API.md
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# API
|
||||||
|
|
||||||
|
This document is a WORK IN PROGRESS. Currently, it only contains some information about the used groups.
|
||||||
|
|
||||||
|
## Groups
|
||||||
|
This section explains all the used groups in this subgame.
|
||||||
|
|
||||||
|
### Groups for interactions
|
||||||
|
|
||||||
|
* `dig_by_water=1`: Blocks with this group will drop when they are near flowing water
|
||||||
|
* `cultivatable=2`: Block will be turned into Farmland by using a hoe on it
|
||||||
|
* `cultivatable=1`: Block will be turned into Dirt by using a hoe on it
|
||||||
|
|
||||||
|
### 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)
|
||||||
|
* `stonebrick=1`: Stone Bricks and related nodes (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 a kind of wooden planks
|
||||||
|
* `wood_stairs=1`: Stairs made out of a kind of wooden planks
|
||||||
|
* `coal=1`: Coal of any kind (coal lump)
|
||||||
|
* `boat=1`: Boat
|
||||||
|
|
||||||
|
### Other groups
|
||||||
|
|
||||||
|
* `water=1`: Water
|
||||||
|
* `lava=1`: Lava
|
59
API.txt
59
API.txt
|
@ -1,59 +0,0 @@
|
||||||
# API
|
|
||||||
|
|
||||||
This document is a WORK IN PROGRESS.
|
|
||||||
|
|
||||||
Currently, it only contains some information about the used groups.
|
|
||||||
|
|
||||||
|
|
||||||
Groups for interactions
|
|
||||||
|
|
||||||
dig_by_water=1
|
|
||||||
Blocks with this group will drop when they are near flowing water
|
|
||||||
|
|
||||||
cultivatable=2
|
|
||||||
Block will be turned into Farmland by using a hoe on it
|
|
||||||
cultivatable=1
|
|
||||||
Block will be turned into Dirt by using a hoe on it
|
|
||||||
|
|
||||||
|
|
||||||
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)
|
|
||||||
|
|
||||||
stonebrick=1
|
|
||||||
Stone Bricks and related nodes (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 a kind of wooden planks
|
|
||||||
|
|
||||||
wood_stiars=1
|
|
||||||
Stairs made out of a kind of wooden planks
|
|
||||||
|
|
||||||
coal=1
|
|
||||||
Coal of any kind (coal lump)
|
|
||||||
|
|
||||||
boat=1
|
|
||||||
Boat
|
|
||||||
|
|
||||||
Other groups
|
|
||||||
water=1
|
|
||||||
Water
|
|
||||||
|
|
||||||
lava=1
|
|
||||||
Lava
|
|
|
@ -32,7 +32,7 @@ Bob Lennon because it's a pyro-barbare
|
||||||
|
|
||||||
Info for programmers
|
Info for programmers
|
||||||
--------------------
|
--------------------
|
||||||
You find interesting and useful infos in API.txt.
|
You find interesting and useful infos in API.md.
|
||||||
|
|
||||||
License of media (textures and sounds)
|
License of media (textures and sounds)
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue