SerenityJS
    Preparing search index...

    Class BlockPermutation<T>

    Type Parameters

    Index

    Constructors

    Properties

    components: BlockTypeComponentCollection

    The 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.

    index: number

    The index value of the block permutation in the block type.

    networkId: number

    The network hash of the block permutation.

    query: string

    The Molang conditional query of the block permutation. This is used on the client end to determine the block state and components.

    state: BlockState[T]

    The state of the block permutation.

    type: BlockType<T>

    The block type of the block permutation.

    hashOffset: 2166136261 = 0x81_1c_9d_c5

    The offset of the hash algorithm.

    permutations: Map<number, BlockPermutation<keyof BlockState>> = ...

    A collective registry of all block permutations.

    Accessors

    Methods