diff options
author | ubq323 <ubq323@ubq323.website> | 2024-04-01 22:31:51 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-04-01 22:31:51 +0100 |
commit | b0cc0c1d0d4350c9957bb9c4ae0ed80c126c216c (patch) | |
tree | 2c68248d8ebe1afbdd5ab1e401622c36909c69eb | |
parent | aa682065c263b936cab1d30055993072093525ab (diff) |
launch echest
-rw-r--r-- | echest.lua | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -25,10 +25,13 @@ local p = assert((peripheral.find"ender_storage")) -- end for x=0,15 do for y=0,15 do for z=0,15 do - print(x,y,z) + term.clearLine() + local _,line = term.getCursorPos() + term.setCursorPos(1,line) + io.write(("%d %d %d "):format(x,y,z)) p.setFrequency(2^x, 2^y, 2^z) local name = p.getName() if name ~= nil then - print(x,y,z,name) + print(name) end end end end |