PasaP

Direwolf Ender Chest Färber

Aug 28th, 2019
936
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. c=peripheral.wrap("top")
  2.  
  3. while true do
  4. if redstone.getInput("back")==true then
  5. p=peripheral.wrap("left")
  6.  
  7. color1=c.getStackInSlot(13)
  8. color2=c.getStackInSlot(14)
  9. color3=c.getStackInSlot(15)
  10.  
  11. c1=string.gsub(color1.raw_name, "item.dyepowder.", "")
  12. c2=string.gsub(color2.raw_name, "item.dyepowder.", "")
  13. c3=string.gsub(color3.raw_name, "item.dyepowder.", "")
  14.  
  15. p.setColorNames(c1, c2, c3)
  16. end
  17. sleep(0.5)
  18. end
Add Comment
Please, Sign In to add comment