ReadonlypermutationsReadonlytraitsThe registered block traits for the palette.
ReadonlytypesThe registered block types for the palette.
Gets all custom block types from the palette.
All custom block types from the palette.
Gets the block types the client only knows from the definitions the server sends: custom block types, and the vanilla block types defined by data, like the wool and concrete stairs. Other vanilla block types are known to the client, and a definition sent for one replaces what it knows, like its sounds.
The block types defined by data.
Gets all block permutations from the palette.
All block permutations from the palette.
Get a trait from the palette.
The identifier of the trait.
Optionalstate: 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.
Optionalstate: BlockStateThe 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.