Buy Me a Coffee at ko-fi.com

Gets the item in a screen slot
The slot is either their numerical id (0 indexed) or the slot string, as used in the /item command
If the player is not currently in a screen, the screen has no slots, or the slot index is greater than the maximum, returns nil

overload 1:
HostAPI.getScreenSlot(slot: String): ItemStack
typings.-1808118735typings.-148280555
Method PropertyFluent DescriptionRepresentation
slot accepts
Return Value
overload 2:
HostAPI.getScreenSlot(slot: Integer): ItemStack
typings.-672261858typings.-148280555
Method PropertyFluent DescriptionRepresentation
slot accepts
Return Value