VoxeLibre/API.md

45 lines
1.7 KiB
Markdown
Raw Normal View History

2017-01-11 15:34:08 +03:00
# 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
2017-01-11 15:40:13 +03:00
* `flammable`: Block helps spreading fire and gets destroyed by nearby fire (rating doesn't matter)
* `soil=1`: Saplings and other small plants can grow on it
2017-01-12 08:54:16 +03:00
* `soil_sugarcane=1`: Sugar canes will grow on this near water
2017-01-11 15:34:08 +03:00
### 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
2017-01-11 15:40:13 +03:00
* `coal=1`: Coal of any kind (lumps only, not blocks)
2017-01-11 15:34:08 +03:00
* `boat=1`: Boat
2017-01-11 15:40:13 +03:00
* `wool=1`: Wool (only full blocks)
* `carpet=1:` (Wool) carpet
2017-01-11 15:34:08 +03:00
### Other groups
* `water=1`: Water
* `lava=1`: Lava
2017-01-11 15:40:13 +03:00
* `liquid`: Block is a liquid
* `liquid=1`: Unspecified type
* `liquid=2`: Water
* `liquid=3`: Lava
* `clock=1`: Clock
* `compass`: Compass (rating doesn't matter)
* `rail=1`: Rail
2017-01-11 18:25:49 +03:00
* `music_record`: Music Disc (rating is track ID)