Make the aura detector actually have hardness

This commit is contained in:
Ellpeck 2018-11-14 16:40:21 +01:00
parent b742ccf5be
commit 868a1eaf98

View file

@ -1,6 +1,7 @@
package de.ellpeck.naturesaura.blocks; package de.ellpeck.naturesaura.blocks;
import de.ellpeck.naturesaura.blocks.tiles.TileEntityAuraDetector; import de.ellpeck.naturesaura.blocks.tiles.TileEntityAuraDetector;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState; import net.minecraft.block.state.IBlockState;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
@ -11,6 +12,8 @@ public class BlockAuraDetector extends BlockContainerImpl {
public BlockAuraDetector() { public BlockAuraDetector() {
super(Material.ROCK, "aura_detector", TileEntityAuraDetector.class, "aura_detector"); super(Material.ROCK, "aura_detector", TileEntityAuraDetector.class, "aura_detector");
this.setSoundType(SoundType.STONE);
this.setHardness(2F);
} }
@Override @Override