2017-01-11 12:34:08 +00: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.
|
|
|
|
|
|
2017-02-06 13:51:52 +00:00
|
|
|
|
### Special groups
|
|
|
|
|
|
|
|
|
|
* `not_in_creative_inventory=1`: Item will not be shown in creative inventory
|
|
|
|
|
* `not_in_craft_guide=1`: Item will not be shown as result or fuel item in crafting guide (but still may be shown as ingredient)
|
|
|
|
|
|
2017-01-11 12:34:08 +00:00
|
|
|
|
### 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 12:40:13 +00: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 06:07:30 +00:00
|
|
|
|
* `soil_sapling=2`: Soil for saplings. Intended to be natural soil. All saplings will grow on this
|
|
|
|
|
* `soil_sapling=1`: Artificial soil (such as farmland) for saplings. Some saplings will not grow on this
|
2017-01-12 05:54:16 +00:00
|
|
|
|
* `soil_sugarcane=1`: Sugar canes will grow on this near water
|
2017-02-10 03:33:15 +00:00
|
|
|
|
* `soil_nether_wart=1`: Nether wart will grow on this
|
2017-01-16 10:36:30 +00:00
|
|
|
|
* `disable_suffocation=1`: Disables suffocation for full solid cubes (1)
|
|
|
|
|
|
2017-02-06 13:51:52 +00:00
|
|
|
|
#### Footnotes
|
2017-01-16 10:36:30 +00:00
|
|
|
|
|
|
|
|
|
1. Normally, all walkable blocks with the default 1×1×1 cube as a collision box (e.g. sand,
|
|
|
|
|
gravel, stone, but not fences) will damage the players while their head is inside. This
|
|
|
|
|
is called “suffocation”. Setting this group disables this behaviour
|
2017-01-11 12:34:08 +00: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)
|
2017-02-07 01:19:25 +00:00
|
|
|
|
* `shulker_box=1`: Block is a shulker box
|
2017-01-11 12:34:08 +00:00
|
|
|
|
* `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 12:40:13 +00:00
|
|
|
|
* `coal=1`: Coal of any kind (lumps only, not blocks)
|
|
|
|
|
* `wool=1`: Wool (only full blocks)
|
|
|
|
|
* `carpet=1:` (Wool) carpet
|
2017-02-07 01:54:17 +00:00
|
|
|
|
* `stick=1`: Stick
|
2017-01-11 12:34:08 +00:00
|
|
|
|
|
2017-01-16 20:21:47 +00:00
|
|
|
|
### Declarative groups
|
|
|
|
|
These groups are used mostly for informational purposes
|
2017-01-11 12:34:08 +00:00
|
|
|
|
|
2017-02-10 05:01:20 +00:00
|
|
|
|
* `solid=1`: Solid block (automatically assigned)
|
|
|
|
|
* `not_solid=1`: Block is sold (only assign this group for nodes which are automatically detected as “solid” in error
|
2017-01-11 12:34:08 +00:00
|
|
|
|
* `water=1`: Water
|
|
|
|
|
* `lava=1`: Lava
|
2017-01-11 12:40:13 +00:00
|
|
|
|
* `liquid`: Block is a liquid
|
|
|
|
|
* `liquid=1`: Unspecified type
|
|
|
|
|
* `liquid=2`: Water
|
|
|
|
|
* `liquid=3`: Lava
|
2017-02-10 04:33:49 +00:00
|
|
|
|
* `fence=1`: Fence
|
|
|
|
|
* `fence_gate=1`: Fence gate
|
|
|
|
|
* `fence_wood=1`: Wooden fence
|
|
|
|
|
* `fence_nether_brick=1`: Nether brick fence
|
2017-01-11 12:40:13 +00:00
|
|
|
|
* `clock=1`: Clock
|
|
|
|
|
* `compass`: Compass (rating doesn't matter)
|
2017-02-07 02:07:37 +00:00
|
|
|
|
* `book=1`: Book
|
|
|
|
|
* `pane=1`: Node is a “pane”-like node glass pane or iron bars
|
|
|
|
|
* `bed=1`: Bed
|
|
|
|
|
* `door=1`: Door
|
|
|
|
|
* `door=2`: Trapdoor
|
2017-01-11 12:40:13 +00:00
|
|
|
|
* `rail=1`: Rail
|
2017-01-11 15:25:49 +00:00
|
|
|
|
* `music_record`: Music Disc (rating is track ID)
|
2017-01-21 13:32:23 +00:00
|
|
|
|
* `tnt=1`: Block is TNT
|
2017-01-16 20:21:47 +00:00
|
|
|
|
* `boat=1`: Boat
|
|
|
|
|
* `minecart=1`: Minecart
|
|
|
|
|
* `food`: Item is a comestible item which can be consumed (healthy or unhealthy)
|
|
|
|
|
* `food=2`: Food
|
|
|
|
|
* `food=3`: Drink
|
|
|
|
|
* `food=1`: Other/unsure
|
|
|
|
|
* `eatable`: Item can be *directly* eaten by wielding + left click (`on_use=item_eat`). Rating is the satiation gain
|
|
|
|
|
* `ammo=1`: Item is used as ammo for a weapon
|
|
|
|
|
* `ammo_bow=1`: Item is used as ammo for bows
|
2017-01-20 03:54:09 +00:00
|
|
|
|
|
|
|
|
|
* `weapon=1`: Item is primarily (!) a weapon
|
|
|
|
|
* `tool=1`: Item is primarily (!) a tool
|
|
|
|
|
* `craftitem=1`: Item is primarily (!) used for crafting
|
|
|
|
|
* `brewitem=1`: Item is primarily (!) used in brewing
|
|
|
|
|
* `transport=1`: Item is used for transportation
|
|
|
|
|
* `building_block=1`: Block is a building block
|
|
|
|
|
* `deco_block=1`: Block is a decorational block
|
2017-01-16 20:21:47 +00:00
|
|
|
|
|