Added all block hardness

This commit is contained in:
Shoghi Cervantes
2015-05-31 17:25:02 +02:00
parent f3c46b12c5
commit 26c9eed82e
86 changed files with 131 additions and 676 deletions

View File

@ -32,25 +32,11 @@ class LapisOre extends Solid{
}
public function getHardness(){
return 15;
return 3;
}
public function getName(){
return "Lapis Ore";
}
public function getBreakTime(Item $item){
switch($item->isPickaxe()){
case 5:
return 0.6;
case 4:
return 0.75;
case 3:
return 1.15;
default:
return 15;
}
return "Lapis Lazuli Ore";
}
public function getDrops(Item $item){