Gets an ItemStack for the item in the given slot
For the player, slots are indexed with 1 as the main hand, 2 as the off hand, and 3,4,5,6 as the 4 armor slots from the boots to the helmet
If an invalid slot number is given, this will return nil
overload 1:
LivingEntityAPI:getItem(index)
Method Property | Fluent Description | Representation |
index accepts | an Integer | |
Return Value | an ItemStack | |