PlaceRandomItem

Parameters
whichItemPoolitempool

The itempool to draw from.

xreal

The x-coordinate of the item.

yreal

The y-coordinate of the item.

comment

Draws a random itemid from the itempool and creates the item.

patch

1.00

Source
common.j (suggest an edit or discuss on Github)
return type
item
Source code
native PlaceRandomItem          takes itempool whichItemPool, real x, real y returns item