ZombieHorse 5.46.0
Extends AbstractHorse
Implements Undead
Bedrock values (entities/zombie_horse.json, 1.21.130): 25 health, movement 0.205-0.275, 1.4x1.6, tempted by red mushrooms (which also heal it, 3 health, and raise its temper by 10). Passive. Tamed by riding it like a horse (vanilla tamemount); a wild one may carry an adult zombie rider. Natural spawning with a zombie rider is not implemented. Can't breed. Wears horse armor like a horse (saddle and armor slots, like GeyserMC's zombie horse screen). Loot (loot_tables/entities/zombie_horse.json): 2-3 rotten flesh (+0-1 per Looting level); XP 1-3.
Methods
canBeRiddenBy()
php
public function canBeRiddenBy(\pocketmine\entity\Entity $entity) : boolcanBreathe()
php
public function canBreathe() : boolcreateBaby() protected
php
protected function createBaby(\pocketmine\entity\animal\Animal $partner, \pocketmine\entity\Location $location) : \pocketmine\entity\animal\AnimalgetAdultDrops() protected
php
protected function getAdultDrops() : arraygetFood() protected
php
protected function getFood(\pocketmine\item\Item $item) : ?arraygetInitialSizeInfo() protected
php
protected function getInitialSizeInfo() : \pocketmine\entity\EntitySizeInfogetName()
php
public function getName() : stringgetNetworkTypeId()
php
public static function getNetworkTypeId() : stringhasArmorSlot()
php
public function hasArmorSlot() : boolisBreedingItem()
php
public function isBreedingItem(\pocketmine\item\Item $item) : boolisTemptItem() protected
php
protected function isTemptItem(\pocketmine\item\Item $item) : boolrandomStats() protected
php
protected function randomStats() : array