diff options
author | RoseGoldIsntGay <yoavkau@gmail.com> | 2022-01-18 22:48:36 +0200 |
---|---|---|
committer | RoseGoldIsntGay <yoavkau@gmail.com> | 2022-01-18 22:48:36 +0200 |
commit | 5934e8bd301bbbec23d172f88255fac1b9435563 (patch) | |
tree | c2f26deb2579e321ca98a297e24ee7865b97a80d /src/main/java/rosegoldaddons/features/MithrilNuker.java | |
parent | 252dedff670a8a456ae557b8ac7f1727bb7fd1b1 (diff) | |
download | RGA-5934e8bd301bbbec23d172f88255fac1b9435563.tar.gz RGA-5934e8bd301bbbec23d172f88255fac1b9435563.tar.bz2 RGA-5934e8bd301bbbec23d172f88255fac1b9435563.zip |
2.5.4-pre1
- Include ores setting also works for mithril nuker and not just hardstone
- Moved memes to memes category (too much scrolling)
- Custom Item Macro will now start with a use instead of waiting for the first loop to finish
- Fixed prioritize full blocks in gemstone nuker
- Deleted tpme (i forgot why i even made it it's literally empty)
Diffstat (limited to 'src/main/java/rosegoldaddons/features/MithrilNuker.java')
-rw-r--r-- | src/main/java/rosegoldaddons/features/MithrilNuker.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/rosegoldaddons/features/MithrilNuker.java b/src/main/java/rosegoldaddons/features/MithrilNuker.java index 5342f58..a6c2be4 100644 --- a/src/main/java/rosegoldaddons/features/MithrilNuker.java +++ b/src/main/java/rosegoldaddons/features/MithrilNuker.java @@ -91,6 +91,11 @@ public class MithrilNuker { if (isMithril(blockState)) { chests.add(new Vec3(blockPos.getX() + 0.5, blockPos.getY(), blockPos.getZ() + 0.5)); } + if(Main.configFile.includeOres) { + if (blockState.getBlock() == Blocks.coal_ore || blockState.getBlock() == Blocks.diamond_ore || blockState.getBlock() == Blocks.gold_ore || blockState.getBlock() == Blocks.redstone_ore || blockState.getBlock() == Blocks.iron_ore || blockState.getBlock() == Blocks.lapis_ore || blockState.getBlock() == Blocks.emerald_ore || blockState.getBlock() == Blocks.netherrack ) { + chests.add(new Vec3(blockPos.getX() + 0.5, blockPos.getY(), blockPos.getZ() + 0.5)); + } + } } } double smallest = 9999; |