Set block hardness

Closes #3
This commit is contained in:
Shadowfacts 2016-10-24 20:52:23 -04:00
parent cf1b2b0aaa
commit 8fb5e52065
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,6 @@
package net.shadowfacts.funnels;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockStateContainer;
@ -35,10 +36,14 @@ public class BlockFunnel extends BlockTE<TileEntityFunnel> {
protected static final AxisAlignedBB EAST_AABB = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 0.125D, 1.0D, 1.0D);
public BlockFunnel() {
super(Material.ROCK, "funnel");
super(Material.IRON, "funnel");
setCreativeTab(CreativeTabs.MISC);
setHardness(3.5f);
setResistance(8);
setSoundType(SoundType.METAL);
setDefaultState(getDefaultState()
.withProperty(FACING, EnumFacing.DOWN));
}