mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-26 06:53:06 +00:00
Added placement sound for microblocks
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user