From 7b6c117f7a4d7e86ea8eee11d946e59d7d6b891b Mon Sep 17 00:00:00 2001 From: ErrorSys <38744863+ErrorSys@users.noreply.github.com> Date: Fri, 18 Feb 2022 03:53:48 -0700 Subject: [PATCH] Fixes deepslate ores having the same hardness values as their stone variants. They shouldn't be the same. Thanks to ErrorSys --- src/main/java/techreborn/init/TRContent.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/techreborn/init/TRContent.java b/src/main/java/techreborn/init/TRContent.java index 0c8cafdc7..35a8ebdc4 100644 --- a/src/main/java/techreborn/init/TRContent.java +++ b/src/main/java/techreborn/init/TRContent.java @@ -444,7 +444,8 @@ public class TRContent { block = new OreBlock(FabricBlockSettings.of(Material.STONE) .requiresTool() .sounds(name.startsWith("deepslate") ? BlockSoundGroup.DEEPSLATE : BlockSoundGroup.STONE) - .strength(2f, 2f), + .hardness(name.startsWith("deepslate") ? 4.5f : 3f) + .resistance(3f), distribution != null ? distribution.experienceDropped : experienceDroppedFallback ); InitUtils.setup(block, name + "_ore");