BlockAccess objects are a group of blocks accessible via coordinates. They mainly serves as superinterface to IWorld, that means all these functions are also available to all IWorld objects.

It might be required to import the class to avoid errors.
import crafttweaker.world.IBlockAccess

Get or Set a blockState at a specific Position

Link to get-or-set-a-blockstate-at-a-specific-position

Use an IBlockPos Object and an IBlockState Object.
Returns an IBlockState.

ZenScript
Copy
accObj.getBlockState(IBlockPos pos);

Check if a block is an air block.

Link to check-if-a-block-is-an-air-block

Use an IBlockPos object.
Returns a bool.

ZenScript
Copy
accObj.isAirBlock(IBlockPos pos);

Get strong Power at a block's side

Link to get-strong-power-at-a-blocks-side

Use an IBlockPos object and an IFacing object.
Returns an int.

ZenScript
Copy
accObj.getStrongPower(BlockPos var1, EnumFacing var2);