Planks - Fixed missing resistance and hardness
This commit is contained in:
parent
2b1ece9012
commit
2bb8764543
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,7 @@ package mmm.materials.trees;
|
||||||
|
|
||||||
import mmm.core.CRegistry;
|
import mmm.core.CRegistry;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.SoundType;
|
||||||
import net.minecraft.block.material.MapColor;
|
import net.minecraft.block.material.MapColor;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.block.state.IBlockState;
|
import net.minecraft.block.state.IBlockState;
|
||||||
|
@ -24,6 +25,9 @@ public class MPlanks
|
||||||
|
|
||||||
this.setCreativeTab( CreativeTabs.BUILDING_BLOCKS );
|
this.setCreativeTab( CreativeTabs.BUILDING_BLOCKS );
|
||||||
this.setHarvestLevel( "axe" , 0 );
|
this.setHarvestLevel( "axe" , 0 );
|
||||||
|
this.setHardness( 2f );
|
||||||
|
this.setResistance( 5f );
|
||||||
|
this.setSoundType( SoundType.WOOD );
|
||||||
|
|
||||||
CRegistry.setIdentifiers( this , "materials" , "planks" , wood.NAME );
|
CRegistry.setIdentifiers( this , "materials" , "planks" , wood.NAME );
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue