Repository navigation
Blocks Config
0tho edited this page Sep 15, 2014
·
19 revisions
Subsections: none
-
name- The name of the block -
textureName-The texture name from the block. path:resourcepack/customItems/blocks/textureName.png -
material- check material list -
toolClass- check toolClass list) -> The tool to mine this block -
hardness- How hard is to mine this block -
lightLevel- (min: 0.0, max: 1.0) -> The light level from a block. Glowstone = 1.0, Stone = 0.0 -
harvestLevel- The level of the pickaxe needed to mine the block. This doesn't apply to shovel blocks or axe blocks
{
"blocks":[
{
"name": "Block1Name",
"textureName": "Block1TextureName",
"material": "Material",
"toolClass":"ToolClass",
"hardness": 0,
"resistance": 0,
"lightLevel": 0,
"harvestLevel": 0
},
{
"name": "Block2Name",
"textureName": "Block2TextureName",
"material": "Material",
"toolClass":"ToolClass",
"hardness": 0,
"resistance": 0,
"lightLevel": 0,
"harvestLevel": 0
},
...
{
"name": "BlockXName",
"textureName": "BlockXTextureName",
"material": "Material",
"toolClass":"ToolClass",
"hardness": 0,
"resistance": 0,
"lightLevel": 0,
"harvestLevel": 0
}
]
}