mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 11:29:23 +01:00
parent
3a2f298e64
commit
48cd171b09
2 changed files with 3 additions and 2 deletions
|
@ -11,12 +11,13 @@
|
|||
package de.ellpeck.actuallyadditions.mod.blocks;
|
||||
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.level.block.SoundType;
|
||||
|
||||
public class BlockCrystal extends ActuallyBlock {
|
||||
private final boolean isEmpowered;
|
||||
|
||||
public BlockCrystal(boolean isEmpowered) {
|
||||
super(ActuallyBlocks.defaultPickProps());
|
||||
super(ActuallyBlocks.defaultPickProps().sound(SoundType.AMETHYST));
|
||||
this.isEmpowered = isEmpowered;
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ public class CrystalClusterBlock extends FullyDirectionalBlock {
|
|||
super(Block.Properties.of()
|
||||
.instrument(NoteBlockInstrument.HAT)
|
||||
.lightLevel((e) -> 7)
|
||||
.sound(SoundType.GLASS)
|
||||
.sound(SoundType.AMETHYST_CLUSTER)
|
||||
.noOcclusion()
|
||||
.strength(0.25f, 1.0f));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue