Contains information related to an entity picking up an item.
export class EntityItemPickupBeforeEvent { private constructor(); cancel: boolean; readonly entity: Entity; readonly item: Entity;} Copy
export class EntityItemPickupBeforeEvent { private constructor(); cancel: boolean; readonly entity: Entity; readonly item: Entity;}
Private
If set to true the item will not be picked up.
This property can't be read in early-execution mode.
Readonly
The entity that will pick up the item.
The item that will be picked up.
Contains information related to an entity picking up an item.
Source