ravneravn

Print inventory

Aug 3rd, 2021
29
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local INVENTORY_SIZE = 16
  2.  
  3. for i = 1, INVENTORY_SIZE do
  4. local currentItem = turtle.getItemDetail(i)
  5.  
  6. if currentItem ~= nil then
  7. turtle.select(i)
  8. print(currentItem.name)
  9. end
  10. end
RAW Paste Data