9 KiB
Groups
This document explains all the groups used in this subgame.
Special groups
not_in_creative_inventory=1
: Item will not be shown in creative inventorynot_in_craft_guide=1
: Item will not be shown as result or fuel item in crafting guide (but still may be shown as ingredient)
Digging time groups
The basic digging time groups determine by which tools a node can be dug.
pickaxey
: Diggable by pickaxe. The rating is for the possible tool materials in which the node will make its useful drop:pickaxey=1
: Wood, gold, stone, iron and diamondpickaxey=2
: Gold, stone, iron and diamondpickaxey=3
: Stone, iron and diamondpickaxey=4
: Iron and diamondpickaxey=5
: Diamond
axey
: Axe. Rating is same as forpickaxey
shovely
: Shovel. Rating is same as forpickaxey
swordy=1
: Diggable by sword (any material), and this node is not a cobwebswordy_cobweb=1
: Diggable by sword (any material), and this node is a cobwebshearsy=1
: Diggable by shears, and this node is not woolshearsy=wool=1
: Diggable by shears, and this node is woolhandy=1
: Breakable by hand and this node gives it useful drop when dug by hand. All nodes which are breakable by pickaxe, axe, shovel, sword or shears are also automatically breakable by hand, but not neccesscreative_breakable=1
: Block is breakable by hand in creative mode. This group is implied if the node belongs to any other digging group
Please read http://minecraft.gamepedia.com/Breaking to learn how digging times work in Minecraft, as MineClone 2 is based on the same system.
Groups for interactions
crush_after_fall=1
: For falling nodes. These will crush whatever they hit after falling, not dropping as an itemdig_by_water=1
: Blocks with this group will drop when they are near flowing waterdestroy_by_lava_flow=1
: Blocks with this group will be destroyed by flowing lavadig_by_piston=1
: Blocks which will drop as an item when pushed by a piston. They also cannot be pulled by sticky pistonscultivatable=2
: Block will be turned into Farmland by using a hoe on itcultivatable=1
: Block will be turned into Dirt by using a hoe on itflammable
: Block helps spreading fire and gets destroyed by nearby fire (rating doesn't matter)spreading_dirt_type=1
: A dirt-type block with a cover (e.g. grass) which may spread to neighbor dirt blocksdirtifies_below_solid=1
: This node turns into dirt immediately when a solid or dirtifier node is placed on topdirtifier=1
: This node turns nodes the above group into dirt when placed abovenon_mycelium_plant=1
: A plant which can't grow on mycelium. Placing it on mycelium fails and if mycelium spreads below it, it uprootssoil=1
: Saplings and other small plants can grow on itsoil_sapling=2
: Soil for saplings. Intended to be natural soil. All saplings will grow on thissoil_sapling=1
: Artificial soil (such as farmland) for saplings. Some saplings will not grow on thissoil_sugarcane=1
: Sugar canes will grow on this near watersoil_nether_wart=1
: Nether wart will grow on thisenderman_takable=1
: Block can be taken and placed by endermendisable_suffocation=1
: Disables suffocation for full solid cubes (1)destroys_items=1
: If an item happens to be inside this node, the item will be destroyedno_eat_delay=1
: Only for foodstuffs. When eating this, all eating delays are ignored.can_eat_when_full=1
: Only for foodstuffs. This item can be eaten when the user has a full hunger bar
Footnotes
- 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
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)shulker_box=1
: Block is a shulker boxtree=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 plankswood_stairs=1
: Stairs made out of a kind of wooden plankscoal=1
: Coal of any kind (lumps only, not blocks)wool=1
: Wool (only full blocks)carpet=1:
(Wool) carpetstick=1
: Stickwater_bucket=1
: Bucket containing a liquid of group “water”
Material groups
These groups correspond to the Minecraft materials. They classify the block into a type, indicating what the block is “made off”.
material_stone=1
: Stonematerial_wood=1
: Woodmaterial_sand=1
: Sandmaterial_glass=1
: Glass
Currently, these groups are used for the note block. Note that not all Minecraft materials are used so far. More Minecraft materials will lilely only be added when they are needed for a concrete use case.
Declarative groups
These groups are used mostly for informational purposes
-
solid=1
: Solid full-cube block (automatically assigned) -
opaque=1
: Opaque block (automatically assigned) -
not_solid=1
: Block is sold (only assign this group for nodes which are automatically detected as “solid” in error -
fire=1
: Fire -
water=1
: Water -
lava=1
: Lava -
torch
: Torch or torch-like nodetorch=1
: Torch on floortorch=2
: Torch at wall
-
liquid
: Block is a liquidliquid=1
: Unspecified typeliquid=2
: Waterliquid=3
: Lava
-
fence=1
: Fence -
fence_gate=1
: Fence gate -
fence_wood=1
: Wooden fence -
fence_nether_brick=1
: Nether brick fence -
flower_pot
: Flower potflower_pot=1
: Empty flower potflower_pot=2
: Flower pot with a plant or flower
-
flower=1
: Flower -
place_flowerlike=1
: Node has placement rules like that of a flower -
place_flowerlike=2
: Node has placement rules like tall grass -
cake
: Cake (rating = slices left) -
book=1
: Book -
pane=1
: Node is a “pane”-like node glass pane or iron bars -
bed=1
: Bed -
door=1
: Door -
trapdoor=1
: Closed trapdoor -
trapdoor=2
: Open trapdoor -
glass=1
: Glass (full cubes only) -
rail=1
: Rail -
music_record
: Music Disc (rating is track ID) -
tnt=1
: Block is TNT -
boat=1
: Boat -
minecart=1
: Minecart -
food
: Item is a comestible item which can be consumed (healthy or unhealthy)food=2
: Foodfood=3
: Drink (including soups)food=1
: Other/unsure
-
eatable
: Item can be directly eaten by wielding + right click (on_use=item_eat
). Rating is the satiation gain -
cocoa
: Node is a cocoa pod (rating is growth stage, ranging from 1 to 3) -
ammo=1
: Item is used as ammo for a weapon -
ammo_bow=1
: Item is used as ammo for bows -
non_combat_armor=1
: Item can be equipped as armor, but is not made for combat (e.g. zombie head, pumpkin) -
container
: Node is a container which physically stores items within and has at least 1 inventorycontainer=2
: Has one inventory with list name"main"
. Items can be placed and taken freelycontainer=3
: Same ascontainer=2
, but shulker boxes can not be insertedcontainer=4
: Furnace-like, has lists"src"
,"fuel"
and"dst"
. It is expected that this also reacts onon_timer
; the node timer must be started from other mods when they add into"src"
or"fuel"
container=5
: Left part of a 2-part horizontal connected container. Both parts have a"main"
inventory list. Both inventories are considered to belong together. This is used for large chests.container=6
: Same as above, but for the right part.container=1
: Other/unspecified container type
-
spawn_egg=1
: Spawn egg -
pressure_plate=1
: Pressure plate (off) -
pressure_plate=2
: Wooden pressure (on) -
button=1
: Button (off) -
button=2
: Button (on) -
plant=1
: Plant or part of a plant -
double_plant
: Part of a double-sized plant. 1 = lower part, 2 = upper part -
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
Fake item groups
These groups put similar items together which should all be treated by the gameplay or the GUI as a single item. You should not add custom items to these groups for no good reason, this is likely to cause a ton of conflicts.
clock
: Clock (rating indicates the “frame”)compass
: Compass (rating indicates the “frame”)
This has the following implication: If you want to use a compass or clock in a crafting recipe, you must
use group:compass
or group:clock
, respectively.