Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers
ContentTweaker Commands WalkThrough

Block Material Bracket Handler

The Block Material Bracket Handler gives you access to the Block Materials in the game. Currently the only Block Materials supported are:

Click to expand the Material list
  • Air
  • Grass
  • Ground
  • Wood
  • Rock
  • Iron
  • Anvil
  • Water
  • Lava
  • Leaves
  • Plants
  • Vine
  • Sponge
  • Cloth
  • Fire
  • sand
  • Circuits
  • Carpet
  • Glass
  • Redstone_Light
  • TNT
  • Coral
  • Ice
  • Packed_Ice
  • Crafted_Snow
  • Cactus
  • Clay
  • Gourd
  • Dragon_Egg
  • Portal
  • Cake
  • Web

Block Materials are referenced in the Material Bracket handler this way:

script.zs
<blockmaterial:name>
<blockmaterial:wood>

If the Block Material is found, this will return an IMaterialDefinition Object.