Interface BlockItemDataProperties
Holds the
BlockData
properties of a block item.- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionApplies the properties to the givenBlockData
.createBlockData
(BlockType blockType)
-
Method Details
-
blockItemStateProperties
@Contract(value="-> new", pure=true) static BlockItemDataProperties.Builder blockItemStateProperties() -
createBlockData
- Parameters:
blockType
- the block type- Returns:
- the block data
-
applyTo
Applies the properties to the givenBlockData
. Doesn't mutate the parameter, but returns a new instance with the properties applied.- Parameters:
blockData
- the block data to apply the properties to- Returns:
- the block data with the properties applied
-