Item Pickup State (Expression) — Skript
Addon: Skript · Category: Expression
Syntax
[the] item pick[ ]up[ability] [state] of %entities%Description
Whether a living entity is allowed to pick dropped items up, which is disabled for every entity by default. The item pickup event only runs for entities that have this enabled. Entities that are not living entities are ignored.
Examples
set item pickup state of player to true
on item pickup:
if item pickup state of event-entity is true:
give event-item to event-entity