Skip to content
0tho edited this page Sep 15, 2014 · 19 revisions

Block Properties:

  • name - The name of the block

  • textureName - The texture name of the block. path:resourcepack/customItems/blocks/textureName.png

  • material - The block material (material list)

  • toolClass - The tool to mine this block (toolClass list)

  • 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

Format Example

{
    "blocks":
    [
        {
            "name": "Block 1",
            "textureName": "Block1TextureName",
            "material": "Material",
            "toolClass":"ToolClass",
            "hardness": 0,
            "resistance": 0,
            "lightLevel": 0,
            "harvestLevel": 0
        },
        {
            "name": "Block 2",
            "textureName": "Block2TextureName",
            "material": "Material",
            "toolClass":"ToolClass",
            "hardness": 0,
            "resistance": 0,
            "lightLevel": 0,
            "harvestLevel": 0
        },   
        ...
        {
            "name": "Block X",
            "textureName": "BlockXTextureName",
            "material": "Material",
            "toolClass":"ToolClass",
            "hardness": 0,
            "resistance": 0,
            "lightLevel": 0,
            "harvestLevel": 0
        }
    ]
}

Clone this wiki locally