setCanPickupItems

public abstract void setCanPickupItems(boolean pickup)

Sets whether or not the living entity can pick up items.

Parameters

pickup

whether or not the living entity can pick up items