mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-26 05:08:34 +01:00
Make the aura detector actually have hardness
This commit is contained in:
parent
b742ccf5be
commit
868a1eaf98
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue