From 2a4bf74885af2b2a8464aca2116d3db6a1db6d36 Mon Sep 17 00:00:00 2001 From: rebecca Date: Sat, 28 Feb 2026 10:52:18 +0000 Subject: ore.lua --- ore.lua | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/ore.lua b/ore.lua index 64b13ab..dea1a45 100644 --- a/ore.lua +++ b/ore.lua @@ -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 -- cgit v1.2.3