From 2bb8764543b5bdafec1823a7406b93af4ffc2ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Wed, 20 Jul 2016 17:23:27 +0200 Subject: [PATCH] Planks - Fixed missing resistance and hardness --- src/java/mmm/materials/trees/MPlanks.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/mmm/materials/trees/MPlanks.java b/src/java/mmm/materials/trees/MPlanks.java index e7fd4a0..66b041b 100644 --- a/src/java/mmm/materials/trees/MPlanks.java +++ b/src/java/mmm/materials/trees/MPlanks.java @@ -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 ); }