Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = peripheral.wrap("left")
- for k,v in pairs(p.getMinecartIds()) do
- vA = p.getMinecartData(v)
- if vA["name"] == "Steam Locomotive" then
- print(vA["routable_cart"]["destination"])
- print(vA["uuid"])
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement