mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-19 13:34:12 +02:00
Change API.txt to API.md format
parent
92c101d731
commit
e44b0b85e3
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 New Issue
Block a user