SerenityJS
    Preparing search index...

    Class ItemBundleTrait

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    container: Container

    The container of the item.

    identifier: string = ...

    The identifier of the trait.

    item: ItemStack

    The item stack that this trait is attached to.

    components: string[] = []

    The item component that this trait is compatible with by default. If null, the trait will not attach to any item stack by default.

    identifier: "dynamic_container"

    The identifier of the trait.

    tag: null | string = null

    The item tag that this trait is compatible with by default. If null, the trait will not attach to any item stack by default.

    types: ItemIdentifier[] = ...

    The item type identifiers that this trait is compatible with by default.

    Accessors

    Methods