MobTrident 5.46.0
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) : boolonCollideWithPlayer()
php
public function onCollideWithPlayer(\pocketmine\player\Player $player) : void