BlockStateContent
A PackBuildData that deals with block state definition files.
Functions
Link copied to clipboard
Retrieves the block state definition with the specified path or null if it does not exist.
Link copied to clipboard
Retrieves the custom block state definition with the specified path or null if it does not exist.
Link copied to clipboard
Retrieves the vanilla block state definition with the specified path or null if it does not exist.
Link copied to clipboard
operator fun set(path: ResourcePath<ResourceType.BlockStateDefinition>, definition: BlockStateDefinition)
Sets the custom definition under the given path, replacing any existing definition under that path.