SerenityJS
    Preparing search index...

    Interface ItemTypeOptions

    interface ItemTypeOptions {
        blockType: BlockType;
        creativeCategory: CreativeItemCategory;
        creativeGroup: string;
        isComponentBased: boolean;
        maxAmount: number;
        properties: CompoundTag<unknown>;
        tags: string[];
        version: number;
    }
    Index

    Properties

    blockType: BlockType
    creativeCategory: CreativeItemCategory
    creativeGroup: string
    isComponentBased: boolean

    Whether the item type is component based.

    maxAmount: number

    The maximum amount of items that can be stacked.

    properties: CompoundTag<unknown>

    The nbt definition for the item type properties.

    tags: string[]
    version: number

    The version of the item type.