SerenityJS
    Preparing search index...

    Class PlayerCraftingInputTrait

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    container: EntityContainer

    The container that holds the inventory items.

    entity: Entity

    The entity that this trait is attached to.

    identifier: string = ...

    The identifier of the trait.

    player: Player = ...

    The player that this trait is attached to.

    components: string[] = []

    The entity component identifiers that this trait is compatible with by default. If empty, the trait will not be initialized by any component.

    identifier: "crafting_input"

    The identifier of the trait.

    types: EntityIdentifier[] = ...

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

    Accessors

    Methods