diff --git a/src/main/java/mod/emt/harkenscythe/blocks/HSBiomassCrop.java b/src/main/java/mod/emt/harkenscythe/blocks/HSBiomassCrop.java index 317bbd3..b3250ea 100644 --- a/src/main/java/mod/emt/harkenscythe/blocks/HSBiomassCrop.java +++ b/src/main/java/mod/emt/harkenscythe/blocks/HSBiomassCrop.java @@ -19,7 +19,6 @@ import net.minecraft.world.World; import net.minecraftforge.common.ForgeHooks; -@SuppressWarnings("deprecation") public class HSBiomassCrop extends BlockBush { public static final PropertyInteger AGE = PropertyInteger.create("age", 0, 3); @@ -29,7 +28,7 @@ public HSBiomassCrop() { super(Material.PLANTS, MapColor.RED); setDefaultState(blockState.getBaseState().withProperty(AGE, 0)); - setSoundType(HSSoundTypes.BIOMASS); + setSoundType(HSSoundTypes.BIOMASS_PLANT); setTickRandomly(true); } diff --git a/src/main/java/mod/emt/harkenscythe/blocks/HSBlockCreep.java b/src/main/java/mod/emt/harkenscythe/blocks/HSBlockCreep.java index c22dc1b..f740e76 100644 --- a/src/main/java/mod/emt/harkenscythe/blocks/HSBlockCreep.java +++ b/src/main/java/mod/emt/harkenscythe/blocks/HSBlockCreep.java @@ -4,9 +4,9 @@ import javax.annotation.Nullable; import mod.emt.harkenscythe.init.HSBlocks; import mod.emt.harkenscythe.init.HSItems; +import mod.emt.harkenscythe.init.HSSoundTypes; import net.minecraft.advancements.CriteriaTriggers; import net.minecraft.block.Block; -import net.minecraft.block.SoundType; import net.minecraft.block.material.MapColor; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; @@ -38,7 +38,7 @@ public HSBlockCreep() super(Material.GRASS, MapColor.RED); this.setHardness(0.6F); this.setHarvestLevel("shovel", 0); - this.setSoundType(SoundType.PLANT); + this.setSoundType(HSSoundTypes.BIOMASS); this.setTickRandomly(true); } diff --git a/src/main/java/mod/emt/harkenscythe/init/HSBlocks.java b/src/main/java/mod/emt/harkenscythe/init/HSBlocks.java index cefad95..45622e6 100644 --- a/src/main/java/mod/emt/harkenscythe/init/HSBlocks.java +++ b/src/main/java/mod/emt/harkenscythe/init/HSBlocks.java @@ -77,7 +77,7 @@ public static void onRegisterBlocksEvent(@Nonnull final RegistryEvent.Register