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/classes/EntityItemPickupBeforeEvent.md.

Class: EntityItemPickupBeforeEvent

event entity

Beta

包含与实体将要拾取物品相关的信息。

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

readonly entity: Entity

Beta

Remarks

将要拾取物品的实体。

The entity that will pick up the item.


item

readonly item: Entity

Beta

Remarks

将要被拾取的物品。

The item that will be picked up.

同领域相关