Block Attributes

material

This attribute defines the block's material.
Materials:

  • cactus
  • circuits
  • clay
  • cloth
  • craftedSnow
  • fire
  • glass
  • grass
  • ground
  • ice
  • iron
  • lava
  • leaves
  • plants
  • pumpkin
  • redstoneLight
  • rock
  • sand
  • snow
  • sponge
  • tnt
  • vine
  • water
  • wood

Examples

material = "cactus";

// Default value
material = "rock";

// Default value fluid
material = "water";