(Official) LUA Scripting Documentation
add_region_inventory
Add or subtract a quantity of an item to/from all block inventories in a cubic region.
Spec:
add_region_inventory(
long x1,
long y1,
long z1,
long x2,
long y2,
long z2,
long item_id,
long qty)
Parameters
x1
: The x component of the regions min map pointy1
: The y component of the regions min map pointz1
: The z component of the regions min map pointx2
: The x component of the regions max map pointy2
: The y component of the regions max map pointz2
: The z component of the regions max map pointitem_id
:qty
: The quantity to add. If ommitted, 1 item will be added. Use a negative number to remove items from inventory
Incomplete
This documentation is incomplete