Skip to content

FireAspectEnchantment ​

class · pocketmine\item\enchantment\FireAspectEnchantment · source

Extends MeleeWeaponEnchantment

Methods ​

getDamageBonus() ​

php
public function getDamageBonus(int $enchantmentLevel) : float

isApplicableTo() ​

php
public function isApplicableTo(\pocketmine\entity\Entity $victim) : bool

onPostAttack() ​

php
public function onPostAttack(\pocketmine\entity\Entity $attacker, \pocketmine\entity\Entity $victim, int $enchantmentLevel) : void

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