The state of the block permutation.
The block type of the block permutation.
Optional
query: stringThe Molang conditional query of the block permutation.
Readonly
componentsThe vanilla components of the block permutation. (hardness, friction, lighting, etc.s) This components are active on the client end when the query condition is met. These components will override any global components of the block type.
Readonly
indexThe index value of the block permutation in the block type.
Readonly
networkThe network hash of the block permutation.
Readonly
queryThe Molang conditional query of the block permutation. This is used on the client end to determine the block state and components.
Readonly
stateThe state of the block permutation.
Readonly
typeThe block type of the block permutation.
Static
Readonly
hashThe offset of the hash algorithm.
Static
Readonly
permutationsA collective registry of all block permutations.
Whether the block permutation is component based. This is determined by the presence of any components in the block permutation.
Check if the block permutation matches the identifier and state.
The block state to match.
Static
createCreate a new block permutation. Primarily used for custom block types.
The block type of the block permutation.
The state of the block permutation.
Optional
query: stringProtected
Static
createStatic
fromProtected
Static
getStatic
hashStatic
resolveResolve a block permutation from the block identifier and state.
The block identifier to resolve.
Optional
state: BlockState[T]The block state to resolve.
Static
to
Create a new block permutation.