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.
Members
apply(state as BlockState) as BlockState
Applies the BlockItemStateProperties to the given
BlockState
.Returns: The new BlockState
.
Parameters:
Return Type:
BlockState
Getter
Checks if the BlockItemStateProperties is empty.
Return Type:
bool
static of(properties as string[string]) as BlockItemStateProperties
Creates a new BlockItemStateProperties with the given properties.
Returns: The new BlockItemStateProperties.
Parameters:
properties: string[string]
Type: string[string]
- The properties.
Return Type:
BlockItemStateProperties
properties() as string[string]
Gets the properties of the BlockItemStateProperties.
Returns: The properties.
Return Type:
string[string]