Give or Return Items (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.0.0
Syntax
(give|add) or return %itemtypes% to %inventories%Description
Attempts to add items to an inventory and will return a list of items that did not fit in the inventory.
Examples
set {_i::*} to give or return diamond to player
if {_i::*} is set:
drop {_i::*} at player
set {_i::*} to add or return (a diamond and an emerald) to inventory of target block
if {_i::*} is set:
drop {_i::*} above target block without velocity