Bucket: Added sounds for bucket fill/empty

This commit is contained in:
Dylan K. Taylor
2018-01-03 14:27:41 +00:00
parent 33352638a9
commit 5f48433c95
4 changed files with 25 additions and 0 deletions

View File

@ -80,6 +80,10 @@ abstract class Liquid extends Transparent{
abstract public function getFlowingForm() : Block;
abstract public function getBucketFillSound() : int;
abstract public function getBucketEmptySound() : int;
public function getFluidHeightPercent(){
$d = $this->meta;
if($d >= 8){