Added placement sound for microblocks

This commit is contained in:
izstas committed 2013-08-05 13:02:23 +04:00
1 parent ca8f7d0dc2
commit af4ff6c722
3 files changed
+9

No files matched your search

@@ -106,6 +106,8 @@ class BlockMicroMaterial(val block:Block, val meta:Int = 0) extends IMicroMateri
def toolClasses = Seq("axe", "pickaxe", "shovel")
def getCutterStrength = toolClasses.foldLeft(0)((level, tool) => Math.max(level, MinecraftForge.getBlockHarvestLevel(block, meta, tool)))
def getSound = block.stepSound
}
object BlockMicroMaterial