Planks - Fixed missing resistance and hardness

This commit is contained in:
Emmanuel BENOîT 2016-07-20 17:23:27 +02:00
parent 2b1ece9012
commit 2bb8764543

View file

@ -3,6 +3,7 @@ package mmm.materials.trees;
import mmm.core.CRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
@ -24,6 +25,9 @@ public class MPlanks
this.setCreativeTab( CreativeTabs.BUILDING_BLOCKS );
this.setHarvestLevel( "axe" , 0 );
this.setHardness( 2f );
this.setResistance( 5f );
this.setSoundType( SoundType.WOOD );
CRegistry.setIdentifiers( this , "materials" , "planks" , wood.NAME );
}