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,7 +32,7 @@ class StainedClay extends Solid{
}
public function getHardness(){
return 30;
return 1.25;
}
public function getName(){
@ -57,21 +57,4 @@ class StainedClay extends Solid{
return $names[$this->meta & 0x0f];
}
public function getBreakTime(Item $item){
switch($item->isPickaxe()){
case 5:
return 0.25;
case 4:
return 0.35;
case 3:
return 0.5;
case 2:
return 0.2;
case 1:
return 0.95;
default:
return 6.25;
}
}
}