IBlock

An IBlock Object consists of a IBlockDefinition, a metadata and a TileData.
It refers to a block in the game.

Importing the package

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.
import crafttweaker.block.IBlock;

Calling an IBlock Object

There are multiple ways thet return an IBlock object:

Zengetters

Getter What does it do Return Type
definition Returns the Block’s definition IBlockDefinition
meta Returns the Block’s metadata int
data Returns the Block’s tileData IData

IBlockPattern

IBlocks extend IBlockPattern Objects. That means, all functions that are available to IBlockPattern objects can also be used for IBlock objects: