BlockType
Index
Properties
optionalbaseBlock
Vanilla block ID to inherit some of the properties. Default is 0
optionalcolorSource
Makes block use biome color source when displayed on the vanilla maps
optionaldestroyTime
Specifies the time required to destroy the block, in ticks
optionalexplosionResistance
Specifies how block resists to the explosions. Default value is 3
optionalextends
Block type to inherit properties
optionalfriction
Specifies how player walks on this block. The higher the friction is, the more difficult it is to change speed and direction. Default value is 0.6000000238418579
optionallightLevel
If non-zero value is used, the block emits light of that value. Default is 0, use values from 1 to 15 to set light level
optionallightOpacity
Specifies how opaque the block is. Default is 0 (transparent), use values from 1 to 15 to make the block opaque
optionalmapColor
Block color when displayed on the vanilla maps
optionalmaterial
Block material constant. Default is 3
optionalrenderAllFaces
If true, all block faces are rendered, otherwise back faces are not rendered (for optimization purposes). Default is false
optionalrenderLayer
Specifies the layer that is used to render the block. Default is 4
optionalrenderType
Sets render type of the block. Default is 0 (full block), use other values to change block's shape
optionalsolid
If true, the block is not transparent. Default is false
optionalsound
Specifies sounds of the block
optionaltranslucency
If non-zero value is used, the shadows will be rendered on the block. Default is 0, allows float values from 0 to 1
Object representing common block properties.