Skip to content

EntityAttackNoDamageSound ​

class · pocketmine\world\sound\EntityAttackNoDamageSound · source

Implements Sound

Played when a player attacks a mob, but fails to deal damage (e.g. cancelled or attack cooldown).

Methods ​

encode() ​

php
public function encode(\pocketmine\math\Vector3 $pos) : array

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