SerenityJS
    Preparing search index...

    Hierarchy

    • DataType
      • ItemData
    Index

    Constructors

    • Creates a new item type.

      Parameters

      • identifier: string

        The identifier of the item type.

      • networkId: number

        The network identifier of the item type.

      • isComponentBased: boolean

        Whether the item type is component based.

      • itemVersion: number

        The version of the item type.

      • properties: CompoundTag<unknown>

        The additional properties of the item type.

      Returns ItemData

    Properties

    identifier: string

    The identifier of the item type.

    isComponentBased: boolean

    Whether the item type is component based.

    itemVersion: number

    The version of the item type.

    networkId: number

    The network identifier of the item type.

    properties: CompoundTag<unknown>

    The additional properties of the item type. This is also known as the vanilla component data.

    Methods