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

Block Object Properties:

Subsections: none

  • name:String
  • textureName:String
  • material:String (check material list
  • toolClass:String (check toolClass list)
  • hardness:Number
  • lightLevel:Number (min: 0.0, max: 1.0)
  • harvestLevel:Number

Format Example

{
    "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
        }
    ]
}

Clone this wiki locally