uepyon

checkchest.lua

Jun 30th, 2023
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local chest = peripheral.find("minecraft:chest")
  2. for slot, item in pairs(chest.list()) do
  3.   print(("%d x %s in slot %d"):format(item.count, item.name, slot))
  4. end
  5.  
Tags: ccTweaked
Add Comment
Please, Sign In to add comment