mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Industrial Miners can now also mine Gilded Blackstone
This commit is contained in:
parent
9f49dd3981
commit
7de9dd6683
@ -31,6 +31,7 @@
|
||||
* (API) Added ToolUseHandler
|
||||
* Added "Sand -> Sandstone" recipe to the Electric Press
|
||||
* Added "Red Sand -> Red Sandstone" recipe to the Electric Press
|
||||
* Industrial Miners can now also mine Gilded Blackstone
|
||||
|
||||
#### Changes
|
||||
* Performance improvement for Programmable Android rotations
|
||||
|
@ -131,10 +131,8 @@ public class IndustrialMiner extends MultiBlockMachine {
|
||||
return new ItemStack(Material.REDSTONE, 4 + random.nextInt(2));
|
||||
case LAPIS_ORE:
|
||||
return new ItemStack(Material.LAPIS_LAZULI, 4 + random.nextInt(4));
|
||||
case ANCIENT_DEBRIS:
|
||||
return new ItemStack(Material.ANCIENT_DEBRIS);
|
||||
default:
|
||||
// This includes Iron and Gold ore
|
||||
// This includes Iron and Gold ore (and Ancient Debris)
|
||||
return new ItemStack(ore);
|
||||
}
|
||||
}
|
||||
@ -216,11 +214,15 @@ public class IndustrialMiner extends MultiBlockMachine {
|
||||
return true;
|
||||
}
|
||||
else if (SlimefunPlugin.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_16)) {
|
||||
return type == Material.ANCIENT_DEBRIS && canMineAncientDebris.getValue();
|
||||
if (type == Material.GILDED_BLACKSTONE) {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
else if (type == Material.ANCIENT_DEBRIS) {
|
||||
return canMineAncientDebris.getValue();
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user