Skip to content

Egg ​

class · pocketmine\entity\projectile\Egg · source

Extends Throwable

Methods ​

getEggItem() 5.46.0 ​

php
public function getEggItem() : \pocketmine\item\Item

getNetworkTypeId() ​

php
public static function getNetworkTypeId() : string

onHit() protected ​

php
protected function onHit(\pocketmine\event\entity\ProjectileHitEvent $event) : void

setEggItem() 5.46.0 ​

php
public function setEggItem(\pocketmine\item\Item $item) : void

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