@minecraft
    正在准备搜索索引...

    接口 EntityItemDropEventOptions实验性

    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;
    }
    索引

    属性

    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.