Block: added burnsForever()

This commit is contained in:
Dylan K. Taylor
2018-03-13 11:35:09 +00:00
parent e66b1953de
commit 64540f36be
4 changed files with 18 additions and 1 deletions

View File

@ -516,6 +516,15 @@ class Block extends Position implements BlockIds, Metadatable{
return 0;
}
/**
* Returns whether fire lit on this block will burn indefinitely.
*
* @return bool
*/
public function burnsForever() : bool{
return false;
}
/**
* Returns the Block on the side $side, works like Vector3::getSide()
*