Advertisement
Guest User

testneu

a guest
Mar 3rd, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. p = peripheral.wrap("left")
  2. for k,v in pairs(p.getMinecartIds()) do
  3.  
  4.  
  5.  vA = p.getMinecartData(v)
  6.  
  7.  if vA["name"] == "Steam Locomotive" then
  8.       print(vA["routable_cart"]["destination"])
  9.       print(vA["uuid"])
  10.      
  11.  end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement