Cleaned up fuel duration handling, fixed some fuel items not working in furnaces

This commit is contained in:
Dylan K. Taylor
2017-08-17 10:22:47 +01:00
parent dc3f13cd30
commit 6efa4343b1
30 changed files with 123 additions and 71 deletions

View File

@ -718,6 +718,14 @@ class Block extends Position implements BlockIds, Metadatable{
return $this->getHardness() !== -1;
}
/**
* Returns the time in ticks which the block will fuel a furnace for.
* @return int
*/
public function getFuelTime() : int{
return 0;
}
/**
* Returns the Block on the side $side, works like Vector3::side()
*