Class: EntityItemPickupBeforeEvent
event entityBeta
包含与实体将要拾取物品相关的信息。
Contains information related to an entity picking up an item.
Properties
cancel
cancel:
boolean
Beta
Remarks
如果设置为 true,则物品将不会被拾取。
If set to true the item will not be picked up.
entity
readonlyentity:Entity
Beta
Remarks
将要拾取物品的实体。
The entity that will pick up the item.
item
readonlyitem:Entity
Beta
Remarks
将要被拾取的物品。
The item that will be picked up.
