IMobilityFlag
Link to imobilityflag
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;
ZenMethods
Link to zenmethods
Matches
Link to matches
You can check if two IMobilityFlag objects are equal:
Returns a bool.
ZenScript CopyflagOne.matches(other);
Enumerations
Link to enumerations
The MobilityFlag Interface has 5 static Methods, each returning the given IMobilityFlag object.
ZenScript Copycrafttweaker.block.MobilityFlag.normal()
crafttweaker.block.MobilityFlag.destroy()
crafttweaker.block.MobilityFlag.block()
crafttweaker.block.MobilityFlag.ignore()
crafttweaker.block.MobilityFlag.pushOnly()