# DropItem
TIP
dropItem(<world>, <x>, <y>, <z>, <item>)
- Drops an item in a specific position, the <item> must be an array with the following elements:
"custom_name" => <custom_name> (Optional)
"id" => <id>
"meta" => <meta> (Optional)
"amount" => <amount> (Optional)
"nbt" => <nbt> (Optional)
# Parameters
<world>
The world to drop the item in as string<x>
The X coordinate to drop the item at as int or float<y>
The Y coordinate to drop the item at as int or float<z>
The Z coordinate to drop the item at as int or float<item>
The item to drop as array
# Example
1: $item$['id'] = 5
2: $item$['amount'] = 364
3: dropItem($world$, $x$, $y$, $z$, $item$)