diff options
| author | rebecca <ubq323@ubq323.website> | 2026-02-28 10:52:18 +0000 |
|---|---|---|
| committer | rebecca <ubq323@ubq323.website> | 2026-02-28 10:52:18 +0000 |
| commit | 2a4bf74885af2b2a8464aca2116d3db6a1db6d36 (patch) | |
| tree | 9648c4d7d5a889f62ea88b872b953cb6616b6591 /ore.lua | |
| parent | 95fc41ea66993f9a247fd7cbc0ec568d78fc5871 (diff) | |
ore.lua
Diffstat (limited to 'ore.lua')
| -rw-r--r-- | ore.lua | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -2,8 +2,25 @@ local p = peripheral.wrap"back" assert(p.hasModule"plethora:scanner" and p.hasModule"plethora:glasses", "need block scanner and overlay glasses!") local interesting_blocks = { - ["minecraft:netherrack"]=0xffff00ff, + ["minecraft:nether_quartz_ore"] = 0xffffffff, + ["minecraft:nether_gold_ore"] = 0xffff00ff, + ["minecraft:chest"] = 0x00ff00ff, + ["minecraft:cobblestone"] = 0x00cc00aa, + ["minecraft:ancient_debris"] = 0x00ff00ff, + ["minecraft:budding_amethyst"] = 0xff00ffff, } +for k,v in pairs{ + coal=0xaaaaaaaa, + iron=0xbbbb33ff, + copper=0xbb33bbff, + gold=0xffff00ff, + redstone=0xff0000ff, + emerald=0x007700ff, + lapis=0x0000ffff, + diamond=0x00ffffff, +} do interesting_blocks["minecraft:"..k.."_ore"] = v + interesting_blocks["minecraft:deepslate_"..k.."_ore"] = v end + local function go() p.canvas3d().clear() @@ -18,4 +35,7 @@ local function go() end end -go() +while true do + go() + os.sleep(0.5) +end |
