An interface that is passed into @minecraft/Server.EntityItemDropAfterEventSignal.subscribe that filters out which events are passed to the provided callback.

interface EntityItemDropEventOptions {
    entityFilter?: EntityFilter;
    itemFilter?: ItemFilter;
}

Properties

entityFilter?: EntityFilter

If this value is set, this event will only fire for entities that match.

itemFilter?: ItemFilter

If this value is set, this event will only fire if an item in the event matches.