Skip to content

WaterAnimal ​

abstract class · pocketmine\entity\WaterAnimal · source

Extends Living
Implements Ageable

Properties ​

$baby protected ​

php
protected bool $baby

Methods ​

canBreathe() ​

php
public function canBreathe() : bool

isBaby() ​

php
public function isBaby() : bool

onAirExpired() ​

php
public function onAirExpired() : void

syncNetworkData() protected ​

php
protected function syncNetworkData(\pocketmine\network\mcpe\protocol\types\entity\EntityMetadataCollection $properties) : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.