For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/EntityItemPickupEventOptions.md.

Interface: EntityItemPickupEventOptions

event entity

Beta

传递给 EntityItemPickupAfterEventSignal.subscribeEntityItemPickupBeforeEventSignal.subscribe 的接口,用于过滤哪些事件会传递给所提供的回调函数。

An interface that is passed into EntityItemPickupAfterEventSignal.subscribe and EntityItemPickupBeforeEventSignal.subscribe that filters out which events are passed to the provided callback.

Properties

entityFilter?

optional entityFilter?: EntityFilter

Beta

Remarks

如果设置了此值,则仅当实体匹配时才会触发此事件。

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


itemFilter?

optional itemFilter?: ItemFilter

Beta

Remarks

如果设置了此值,则仅当事件中的物品匹配时才会触发此事件。

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

同领域相关