Interface ItemMetadata<Safe, ID>

Type Parameters

  • Safe extends boolean = false

  • ID extends `minecraft:${string}` = `minecraft:${string}`

Hierarchy

  • ItemMetadata

Properties

Properties

Count: Safe extends true ? number : Byte
id: ID
tag: {
    PublicBukkitValues: Record<`hypercube:${string}`, string | number | bigint>;
    Tags: string[];
    display: {
        Lore: Safe extends true ? RawMCString<false, string[]>[] : string[];
        Name: Safe extends true ? RawMCString<false, string[]> | MinecraftString<string> : string;
    };
}

Type declaration

  • PublicBukkitValues: Record<`hypercube:${string}`, string | number | bigint>
  • Tags: string[]
  • display: {
        Lore: Safe extends true ? RawMCString<false, string[]>[] : string[];
        Name: Safe extends true ? RawMCString<false, string[]> | MinecraftString<string> : string;
    }
    • Lore: Safe extends true ? RawMCString<false, string[]>[] : string[]
    • Name: Safe extends true ? RawMCString<false, string[]> | MinecraftString<string> : string

Generated using TypeDoc