api
a9eff54633
jvm
api
/
org.kryptonmc.api.inventory
/
Inventory
/
setItem
set
Item
abstract
fun
setItem
(
index
:
Int
,
item
:
ItemStack
)
Sets the item at the given
index
to the given
item
.
Parameters
index
the index of the item
item
the new item