Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c=peripheral.wrap("top")
- while true do
- if redstone.getInput("back")==true then
- p=peripheral.wrap("left")
- color1=c.getStackInSlot(13)
- color2=c.getStackInSlot(14)
- color3=c.getStackInSlot(15)
- c1=string.gsub(color1.raw_name, "item.dyepowder.", "")
- c2=string.gsub(color2.raw_name, "item.dyepowder.", "")
- c3=string.gsub(color3.raw_name, "item.dyepowder.", "")
- p.setColorNames(c1, c2, c3)
- end
- sleep(0.5)
- end
Add Comment
Please, Sign In to add comment