Buy Me a Coffee at ko-fi.com

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:
HostAPI.setSlot(slot: String): HostAPI
typings.-1808118735typings.-1531650254
Method PropertyFluent DescriptionRepresentation
slot accepts
Return Value
overload 2:
HostAPI.setSlot(slot: Integer): HostAPI
typings.-672261858typings.-1531650254
Method PropertyFluent DescriptionRepresentation
slot accepts
Return Value
overload 3:
HostAPI.setSlot(slot: String, item: String): HostAPI
typings.-1808118735typings.-1808118735typings.-1531650254
Method PropertyFluent DescriptionRepresentation
slot accepts
item accepts
Return Value
overload 4:
HostAPI.setSlot(slot: Integer, item: ItemStack): HostAPI
typings.-672261858typings.-148280555typings.-1531650254
Method PropertyFluent DescriptionRepresentation
slot accepts
item accepts
Return Value