The ItemFilter interface in @minecraft/server.
Interface in @minecraft/server
import type { ItemFilter } from '@minecraft/server';Properties
Section titled “Properties”includeTypes
Section titled “includeTypes”optional
includeTypes?: (ItemType | string)[];Types
Used by
Section titled “Used by”EntityItemDropEventOptions.itemFilter, EntityItemPickupEventOptions.itemFilter