did stuff
This commit is contained in:
parent
72c4b27e64
commit
6655f1fc32
@ -12,17 +12,6 @@ keepList = {
|
||||
[0] = "minecraft:dirt",
|
||||
[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()
|
||||
chestAvailable = false
|
||||
chestSlot = 0
|
||||
@ -91,6 +80,18 @@ local function inventoryRework()
|
||||
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()
|
||||
for i=0, 3 do
|
||||
--turtle.turnturnLeft()
|
||||
|
Loading…
Reference in New Issue
Block a user