-
Notifications
You must be signed in to change notification settings - Fork 21
Blocks Config
Otho edited this page Oct 1, 2014
·
19 revisions
-
{name}- The name of the block -
{textureName}- The texture name of the block. -
[creativeTab] = "Custom Items"- The tab label from the tab that the block will show. -
[material] = "rock"- The block material (material list) -
[toolClass] = "pickaxe"- The tool to mine this block (toolClass list) -
[resistance] = 10- How much the block is resistant to explosion -
[hardness] = 2.0- How hard is to mine this block -
[lightLevel] = 0.0- (min: 0.0, max: 1.0) - The light level from a block. Glowstone = 1.0, Stone = 0.0 -
[harvestLevel] = 0- The level of the pickaxe needed to mine the block. This doesn't apply to shovel blocks or axe blocks
{
"blocks":
[
{
"name": "Block 1",
"textureName": "Block1TextureName",
},
{
"name": "Block 2",
"textureName": "Block2TextureName",
"material": "Material",
"hardness": 0,
"harvestLevel": 0
},
...
{
"name": "Block X",
"creativeTab": "Random Tab",
"textureName": "BlockXTextureName",
"material": "Material",
"toolClass":"ToolClass",
"hardness": 0,
"resistance": 0,
"lightLevel": 0,
"harvestLevel": 0
}
]
}