Change the sound type of the crystal related blocks

Implements #1427
This commit is contained in:
Mrbysco 2024-11-02 15:03:44 +01:00
parent 3a2f298e64
commit 48cd171b09
2 changed files with 3 additions and 2 deletions

View file

@ -11,12 +11,13 @@
package de.ellpeck.actuallyadditions.mod.blocks; package de.ellpeck.actuallyadditions.mod.blocks;
import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.block.SoundType;
public class BlockCrystal extends ActuallyBlock { public class BlockCrystal extends ActuallyBlock {
private final boolean isEmpowered; private final boolean isEmpowered;
public BlockCrystal(boolean isEmpowered) { public BlockCrystal(boolean isEmpowered) {
super(ActuallyBlocks.defaultPickProps()); super(ActuallyBlocks.defaultPickProps().sound(SoundType.AMETHYST));
this.isEmpowered = isEmpowered; this.isEmpowered = isEmpowered;
} }

View file

@ -45,7 +45,7 @@ public class CrystalClusterBlock extends FullyDirectionalBlock {
super(Block.Properties.of() super(Block.Properties.of()
.instrument(NoteBlockInstrument.HAT) .instrument(NoteBlockInstrument.HAT)
.lightLevel((e) -> 7) .lightLevel((e) -> 7)
.sound(SoundType.GLASS) .sound(SoundType.AMETHYST_CLUSTER)
.noOcclusion() .noOcclusion()
.strength(0.25f, 1.0f)); .strength(0.25f, 1.0f));
} }