.
This commit is contained in:
parent
116adfc3dc
commit
7075eb7784
@ -1,6 +1,6 @@
|
|||||||
basic = require("lib.basic")
|
basic = require("lib.basic")
|
||||||
|
|
||||||
keepList = {
|
oreList = {
|
||||||
[0] = "minecraft:gold_ore",
|
[0] = "minecraft:gold_ore",
|
||||||
[1] = "minecraft:deepslate_gold_ore",
|
[1] = "minecraft:deepslate_gold_ore",
|
||||||
[2] = "minecraft:iron_ore",
|
[2] = "minecraft:iron_ore",
|
||||||
@ -22,6 +22,20 @@ keepList = {
|
|||||||
[18] = "minecraft:ancient_debris",
|
[18] = "minecraft:ancient_debris",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
keepList = {
|
||||||
|
[0] = "minecraft:chest",
|
||||||
|
[1] = "minecraft:raw_gold",
|
||||||
|
[2] = "minecraft:raw_iron",
|
||||||
|
[3] = "minecraft:lapis_lazuli",
|
||||||
|
[4] = "minecraft:diamond",
|
||||||
|
[5] = "minecraft:redstone",
|
||||||
|
[6] = "minecraft:emerald",
|
||||||
|
[7] = "minecraft:quartz",
|
||||||
|
[8] = "minecraft:gold_nugget",
|
||||||
|
[9] = "minecraft:raw_copper",
|
||||||
|
[10] = "minecraft:ancient_debris",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
local function setState()
|
local function setState()
|
||||||
@ -140,8 +154,8 @@ end
|
|||||||
|
|
||||||
|
|
||||||
local function isOre(blockData)
|
local function isOre(blockData)
|
||||||
for i=0, #keepList do
|
for i=0, #oreList do
|
||||||
if blockData["name"] == keepList[i] then
|
if blockData["name"] == oreList[i] then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user