SimplePipes icon indicating copy to clipboard operation
SimplePipes copied to clipboard

Crash

Open AlexIIL opened this issue 6 years ago • 2 comments

Original report by EntranceJew#6969 from the fabric discord: https://paste.ee/p/gzRRY

AlexIIL avatar May 21 '19 22:05 AlexIIL

https://paste.ee/p/MiRwo attached a computercraft command computer next to a wooden extractor to send pulses at a rate of once per game tick (probably?) with this program:


local tArgs = { ... }
if #tArgs < 1 then
    print( "Usage: pulse <pulsepertick> <sides...>" )
    return
end

sides = {
    "top",
    "left",
    "right",
    "bottom",
    "front",
    "back"
}

tps = (1/20)
speedfactor = tonumber( tArgs[1] ) or 1
tts = (tps * speedfactor)/2

while true do
    for _, side in ipairs(sides) do
        redstone.setOutput(side, true)
    end
    sleep(tts)
    for _, side in ipairs(sides) do
        redstone.setOutput(side, false)
    end
    sleep(tts)
end

EntranceJew avatar May 21 '19 23:05 EntranceJew

https://paste.ee/p/4TRiv put pumps in a circle because i don't know which direction they're supposed to go and the pumps still didn't do anything, so i put lava inside a container and it eventually broke

EntranceJew avatar May 21 '19 23:05 EntranceJew