Donkey 5.46.0
Extends AbstractHorse
Bedrock values (entities/donkey.json): 15-30 health, movement 0.175, jump strength 0.5, 1.4x1.6. Bred (tamed) with golden apples and golden carrots; with a horse it makes a mule. A tamed adult takes a chest (15 slots, see AbstractHorse). Loot (loot_tables/entities/horse.json): 0-2 leather (+0-1 per Looting level); XP 1-3.
Methods
breedsWith() protected
php
protected function breedsWith(\pocketmine\entity\animal\Animal $other) : boolcanHaveChest()
php
public function canHaveChest() : boolcreateBaby() protected
php
protected function createBaby(\pocketmine\entity\animal\Animal $partner, \pocketmine\entity\Location $location) : \pocketmine\entity\animal\AnimalgetInitialSizeInfo() protected
php
protected function getInitialSizeInfo() : \pocketmine\entity\EntitySizeInfogetName()
php
public function getName() : stringgetNetworkTypeId()
php
public static function getNetworkTypeId() : stringgetRiderSeat() protected
php
protected function getRiderSeat() : \pocketmine\entity\riding\RideableSeatrandomStats() protected
php
protected function randomStats() : array