@minecraft/server / EntityItemDropEventOptions
Interface: EntityItemDropEventOptions ​
Defined in: @minecraft/server/index.d.ts:23468
An interface that is passed into EntityItemDropAfterEventSignal.subscribe that filters out which events are passed to the provided callback.
Properties ​
entityFilter? ​
optionalentityFilter?:EntityFilter
Defined in: @minecraft/server/index.d.ts:23475
Remarks ​
If this value is set, this event will only fire for entities that match.
itemFilter? ​
optionalitemFilter?:ItemFilter
Defined in: @minecraft/server/index.d.ts:23482
Remarks ​
If this value is set, this event will only fire if an item in the event matches.