Advertisement
Plazter

Tank info ( ender tank )

Aug 20th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. t = peripheral.wrap("right")
  2. info = t.getTankInfo()
  3.  
  4. for k,v in ipairs(info) do
  5.     for i = 1,4 do
  6.         if k == "rawName" then
  7.             print("Fluid: Experience")
  8.         end
  9.         if k == "amount" then
  10.             print("Amount: ".. tostring(v))
  11.         end
  12.     end
  13. sleep(3)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement