TraderLlama 5.46.0
Extends Llama
Bedrock values (entities/trader_llama.json): a llama with the wandering trader's decor (MARK_VARIANT 1). It defends its trader: whoever hurts a wandering trader within 16 blocks becomes its target (see WanderingTrader::attack()). Breeds with llamas and trader llamas; the baby is a trader llama.
Methods
createBaby() protected
php
protected function createBaby(\pocketmine\entity\animal\Animal $partner, \pocketmine\entity\Location $location) : \pocketmine\entity\animal\AnimalgetName()
php
public function getName() : stringgetNetworkTypeId()
php
public static function getNetworkTypeId() : stringsyncNetworkData() protected
php
protected function syncNetworkData(\pocketmine\network\mcpe\protocol\types\entity\EntityMetadataCollection $properties) : void