BlockItemStateProperties
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.item.component.BlockItemStateProperties;
Members
apply(state as BlockState) as BlockState
myBlockItemStateProperties.apply(myBlockState);
Parameters:
state: BlockState
Type: BlockState
Return Type:
BlockState
Getter
// BlockItemStateProperties.isEmpty as boolmyBlockItemStateProperties.isEmpty
Return Type:
bool
static of(properties as string[string]) as BlockItemStateProperties
BlockItemStateProperties.of(myMap);
Parameters:
properties: string[string]
Type: string[string]
Return Type:
BlockItemStateProperties
properties() as string[string]
// BlockItemStateProperties.properties() as string[string];myBlockItemStateProperties.properties();
Return Type:
string[string]