Block.SpecialType
Index
Properties
optionalbase
Vanilla block ID to inherit some of the properties.
optionalburn_oddssince: 3.1.0b125
Alternatively destroy by fire chance modifier, values between 0 and 100, with a higher number meaning more likely to be destroyed by fire.
optionalcan_be_extra_blocksince: 2.2.1b95
Whether or not block may overlay different block, like water overlapping fillable blocks.
optionalcan_contain_liquidsince: 2.2.1b95
Whether or not block may filled by water bucket or other custom fillable liquids.
optionalcolor_sourcesince: 2.1.0b56
Makes block use biome color source when displayed on the vanilla maps.
optionaldestroytime
Specifies the time required to destroy the block, in ticks.
optionalexplosionres
Specifies how block resists to the explosions.
optionalflame_oddssince: 3.1.0b125
Alternatively catch on fire chance modifier, values between 0 and 100, with a higher number meaning more likely to catch on fire. For a "flame_odds" greater than 0, the fire will continue to burn until the block is destroyed (or it will burn forever if the "burn_odds" is 0).
optionalfriction
Specifies how player walks on this block. The higher the friction is, the more difficult it is to change speed and direction.
optionallightlevel
If non-zero value is used, the block emits light of that value. Default is no lighting, use values from 1 to 15 to set light level.
optionallightopacity
Specifies how opaque the block is. Default is transparent, use values from 1 to 15 to make the block opaque.
optionalmapcolorsince: 2.0.2b23
Block color when displayed on the vanilla maps.
optionalmaterial
Block material constant to be inherited.
optionalname
Unique string identifier of the SpecialType.
optionalrenderallfaces
If true, all block faces are rendered, otherwise back faces are not
rendered, like for glass.
optionalrenderlayer
Specifies the layer that is used to render the block.
optionalrendertype
Sets render type of the block. Default is full block, use other values to change block's shape.
optionalsolid
If true, the block is not transparent.
optionalsoundsince: 2.0.2b25 (from 3.1.0b126 can be custom from resource packs)
Specifies sounds of the block, one of Block.Sound.
optionalstatessince: 2.4.0b122-4
Adds ability to apply states to this block, preferably using vanilla ones from EBlockStates, but if they are not enough, you can always add your own using BlockState.registerBlockState. Inexistent states are ignored.
optionaltranslucency
If non-zero value is used, the shadows will be rendered on the block. Default is zero, allows float values from 0 to 1.
Special types are used to set properties to the block. Unlike items, blocks properties are defined using special types, due to old Inner Core's block IDs limitations.