did stuff

This commit is contained in:
Julian Brammer 2024-06-30 17:29:05 +02:00
parent 72c4b27e64
commit 6655f1fc32

View File

@ -12,17 +12,6 @@ keepList = {
[0] = "minecraft:dirt", [0] = "minecraft:dirt",
[1] = "minecraft:grass_block" [1] = "minecraft:grass_block"
} }
local function isWanted(blockData)
for i=0, #oreList do
if blockData["name"] == oreList[i] then
inventoryRework()
return true
end
end
return false
end
local function inventoryRework() local function inventoryRework()
chestAvailable = false chestAvailable = false
chestSlot = 0 chestSlot = 0
@ -91,6 +80,18 @@ local function inventoryRework()
end end
end end
local function isWanted(blockData)
for i=0, #oreList do
if blockData["name"] == oreList[i] then
inventoryRework()
return true
end
end
return false
end
local function recursiveOreMining() local function recursiveOreMining()
for i=0, 3 do for i=0, 3 do
--turtle.turnturnLeft() --turtle.turnturnLeft()