The state of the block permutation.
The block type of the block permutation.
Optionalquery: stringThe Molang conditional query of the block permutation.
ReadonlycomponentsThe 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.
ReadonlyindexThe index value of the block permutation in the block type.
ReadonlynbtAdditional nbt data for the block permutation. This data is applied to the block when it is placed in the world.
ReadonlynetworkThe network hash of the block permutation.
ReadonlyqueryThe Molang conditional query of the block permutation. This is used on the client end to determine the block state and components.
ReadonlystateThe state of the block permutation.
ReadonlytypeThe block type of the block permutation.
Static ReadonlyhashThe offset of the hash algorithm.
Static ReadonlypermutationsA 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.
StaticcreateCreate a new block permutation. Primarily used for custom block types.
The block type of the block permutation.
The state of the block permutation.
Optionalquery: stringProtected StaticcreateStaticfromGet a block permutation from a compound tag. (Used for disk storage)
The compound tag to convert.
The block permutation.
Protected StaticgetStatichashStaticresolveResolve a block permutation from the block identifier and state.
The block identifier to resolve.
Optionalstate: GenericBlockStateThe block state to resolve.
StatictoConvert the block permutation to a compound tag. (Used for disk storage)
The block permutation to convert.
The compound tag representation of the block permutation.
Create a new block permutation.