add actual hardness to the hopper upgrade

This commit is contained in:
Ellpeck 2018-11-08 21:35:32 +01:00
parent c88087087c
commit 5456262cf1

View file

@ -1,10 +1,13 @@
package de.ellpeck.naturesaura.blocks; package de.ellpeck.naturesaura.blocks;
import de.ellpeck.naturesaura.blocks.tiles.TileEntityHopperUpgrade; import de.ellpeck.naturesaura.blocks.tiles.TileEntityHopperUpgrade;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;
public class BlockHopperUpgrade extends BlockContainerImpl { public class BlockHopperUpgrade extends BlockContainerImpl {
public BlockHopperUpgrade() { public BlockHopperUpgrade() {
super(Material.IRON, "hopper_upgrade", TileEntityHopperUpgrade.class, "hopper_upgrade"); super(Material.IRON, "hopper_upgrade", TileEntityHopperUpgrade.class, "hopper_upgrade");
this.setSoundType(SoundType.METAL);
this.setHardness(2.5F);
} }
} }