@minecraft/server
    Preparing search index...

    Interface ItemFilterBeta

    Contains options for filtering items.

    interface ItemFilter {
        includeTypes?: (string | ItemType)[];
    }
    Index

    Properties

    Properties

    includeTypes?: (string | ItemType)[]

    If defined, items that match these types are included.