HostAPI.setSlot

Sets a slot with an ItemStack
The slot is either their numerical id (0 indexed) or the slot string,
as used in the /item command
Slot -1 uses the first available slot
Only runs for creative mode
overload 1:
host:setSlot(slot)
Method Property Fluent Description Representation
slot accepts a String
Return Value a HostAPI
overload 2:
host:setSlot(slot)
Method Property Fluent Description Representation
slot accepts an Integer
Return Value a HostAPI
overload 3:
host:setSlot(slot, item)
Method Property Fluent Description Representation
slot accepts a String
item accepts a String
Return Value a HostAPI
overload 4:
host:setSlot(slot, item)
Method Property Fluent Description Representation
slot accepts an Integer
item accepts an ItemStack
Return Value a HostAPI
a a