Skip to content

MobTrident 5.46.0 ​

class · pocketmine\entity\projectile\MobTrident · source

Extends Trident
Implements NeverSavedWithChunkEntity

Trident thrown by a drowned: like a player's trident (8 damage) but it can't be picked up and disappears a few seconds after landing (vanilla mob tridents are not pickable).

Methods ​

entityBaseTick() protected ​

php
protected function entityBaseTick(int $tickDiff = 1) : bool

onCollideWithPlayer() ​

php
public function onCollideWithPlayer(\pocketmine\player\Player $player) : void

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