Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Using: CC: Tweaked, Plethora
- pastebin run 1k4ECcCv
- pastebin get 1k4ECcCv startup
- ]]--
- if pcall(os.loadAPI, "jLib/jFuncs") then
- else
- shell.run("pastebin get kqBFGcfV jLib/jFuncs")
- os.loadAPI("jLib/jFuncs")
- end
- local craftingCore = peripheral.find("actuallyadditions:phantomface")
- local input1 = peripheral.wrap("minecraft:ender chest_4")
- local input2 = peripheral.wrap("minecraft:ender chest_5")
- local output = peripheral.wrap("minecraft:ender chest_6")
- local function moveAllCobble()
- for i, item in pairs(input1.list()) do
- if(item.name == "minecraft:cobblestone") then
- input1.pushItems(peripheral.getName(output), i)
- end
- end
- for i, item in pairs(input2.list()) do
- if(item.name == "minecraft:cobblestone") then
- input2.pushItems(peripheral.getName(output), i)
- end
- end
- end
- while(true) do
- if(craftingCore.getItem(2)) then
- moveAllCobble()
- craftingCore.pushItems(peripheral.getName(output), 2)
- end
- os.sleep(1)
- end
Add Comment
Please, Sign In to add comment