SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias ItemStackSnapshot

    ItemStackSnapshot: Message<"soulfire.v1.ItemStackSnapshot"> & {
        armor?: ArmorProperties;
        components?: JsonObject;
        count: number;
        customDataNbt?: Uint8Array;
        customName?: TextComponent;
        damage: number;
        enchantments: EnchantmentSnapshot[];
        fingerprint: string;
        food?: FoodProperties;
        itemId: string;
        lore: TextComponent[];
        maxDamage: number;
        maxStackSize: number;
        potion?: PotionProperties;
        tool?: ToolProperties;
    }

    Semantic item data. Large presentation assets are deliberately excluded.

    Type Declaration

    • Optionalarmor?: ArmorProperties

      from field: optional soulfire.v1.ArmorProperties armor = 11;

    • Optionalcomponents?: JsonObject

      from field: google.protobuf.Struct components = 12;

    • count: number

      from field: int32 count = 2;

    • OptionalcustomDataNbt?: Uint8Array

      from field: optional bytes custom_data_nbt = 13;

    • OptionalcustomName?: TextComponent

      from field: optional soulfire.v1.TextComponent custom_name = 6;

    • damage: number

      from field: int32 damage = 4;

    • enchantments: EnchantmentSnapshot[]

      from field: repeated soulfire.v1.EnchantmentSnapshot enchantments = 8;

    • fingerprint: string

      from field: string fingerprint = 14;

    • Optionalfood?: FoodProperties

      from field: optional soulfire.v1.FoodProperties food = 9;

    • itemId: string

      from field: string item_id = 1;

    • lore: TextComponent[]

      from field: repeated soulfire.v1.TextComponent lore = 7;

    • maxDamage: number

      from field: int32 max_damage = 5;

    • maxStackSize: number

      from field: int32 max_stack_size = 3;

    • Optionalpotion?: PotionProperties

      from field: optional soulfire.v1.PotionProperties potion = 15;

    • Optionaltool?: ToolProperties

      from field: optional soulfire.v1.ToolProperties tool = 10;

    from message soulfire.v1.ItemStackSnapshot