mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Added Single Explosions [ignite TNT using fling & steel]
This commit is contained in:
parent
41b1a0f991
commit
94f8cfb59b
77 changed files with 134 additions and 32 deletions
|
|
@ -131,6 +131,7 @@ abstract class Block extends Position{
|
|||
protected $meta;
|
||||
protected $name;
|
||||
protected $breakTime;
|
||||
protected $hardness;
|
||||
public $isActivable = false;
|
||||
public $breakable = true;
|
||||
public $isFlowable = false;
|
||||
|
|
@ -151,6 +152,11 @@ abstract class Block extends Position{
|
|||
$this->meta = (int) $meta;
|
||||
$this->name = $name;
|
||||
$this->breakTime = 0.20;
|
||||
$this->hardness = 10;
|
||||
}
|
||||
|
||||
final public function getHardness(){
|
||||
return ($this->hardness);
|
||||
}
|
||||
|
||||
final public function getName(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue