BlockStateContent

A PackBuildData that deals with block state definition files.

Constructors

Link copied to clipboard
constructor(builder: ResourcePackBuilder)

Types

Link copied to clipboard
inner class PreLoadAll : PackTask

Loads all block state definitions, both vanilla and custom.

Link copied to clipboard
inner class Write : PackTask

Writes all custom block state definitions to the resource pack.

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

Sets the custom definition under the given path, replacing any existing definition under that path.