Pickable State (Expression) — Skript
Addon: Skript · Category: Expression
Syntax
[the] pickab(le|ility) [state] of %entities%Description
Whether a dropped item can be picked up, which is enabled by default. Setting this only toggles the item's own flag, while reading it also takes the pickup delay and removal into account, so a dropped item whose pickup delay is still counting down reads false even though its flag is true. A dropped item that cannot be picked up is never merged into another one either.
Examples
drop diamond at player's position:
before spawn:
set pickable state of entity to false