The IMobilityFlag Interface allows you to get an IBlockState's possible mobilityFlags.

パッケージのインポート

Link to パッケージのインポート

It might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import.
import crafttweaker.block.IMobilityFlag;

You can check if two IMobilityFlag objects are equal:
Returns a bool.

ZenScript
Copy
flagOne.matches(other);

The MobilityFlag Interface has 5 static Methods, each returning the given IMobilityFlag object.

ZenScript
Copy
crafttweaker.block.MobilityFlag.normal()
crafttweaker.block.MobilityFlag.destroy()
crafttweaker.block.MobilityFlag.block()
crafttweaker.block.MobilityFlag.ignore()
crafttweaker.block.MobilityFlag.pushOnly()