@minecraft/server
    Preparing search index...

    Class EntityItemPickupBeforeEventBeta

    Contains information related to an entity picking up an item.

    Index

    Properties

    Properties

    cancel: boolean

    If set to true the item will not be picked up.

    entity: Entity

    The entity that will pick up the item.

    item: Entity

    The item that will be picked up.