mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Bucket: Added sounds for bucket fill/empty
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user