Readonly
permutationsReadonly
traitsThe registered block traits for the palette.
Readonly
typesThe registered block types for the palette.
Gets all custom block types from the palette.
All custom block types from the palette.
Gets all block permutations from the palette.
All block permutations from the palette.
Gets all block types from the palette.
All block types from the palette.
Get a trait from the palette.
The identifier of the trait.
Optional
state: null | stringThe state of the trait.
The trait from the palette.
Register a block permutation to the palette.
The block permutation to register.
Whether the block permutation was registered.
Register a trait to the palette.
True if the trait was registered, false otherwise.
Register a block type to the palette.
Whether the block type was registered.
Resolves a block permutation from the block identifier and state.
The block identifier to resolve.
Optional
state: BlockState[T]The block state to resolve.
The block permutation from the palette.
Gets a block type from the palette.
The block identifier to get.
The block type from the palette.
Removes a block trait from the palette.
The registered block permutations for the palette.