Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x = peripheral.find("plethora:sensor")
- local id
- do
- local ents = x.sense()
- for k, v in pairs(ents) do
- if v.key == "minecraft:villager" then
- id = v.id
- end
- end
- end
- print("Found: "..vId)
- while true do
- local meta = x.getMetaByID(id)
- for k, v in pairs(meta) do
- print(k..": "..v)
- end
- os.pullEvent("key")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement