Advertisement
colhaydutu

prominence wither spawn 2

Nov 12th, 2024
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. while true do
  4. local senderID, message, protocol = rednet.receive("commandChannel")
  5.  
  6. if senderID == 143 and message == "place" then
  7. for i = 1, 16 do
  8. local item = turtle.getItemDetail(i)
  9. if item and string.match(item.name, "wither") then
  10. turtle.select(i)
  11. turtle.place()
  12. break
  13. end
  14. end
  15. end
  16. end
  17.  
  18. rednet.close("right")
  19.  
  20.  
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement