PocketMine-MP 5.15.1 git-fb9a74e8799c71ed8292cfa53abe7a4c9204629d
pocketmine\item\enchantment\ProtectionEnchantment Member List

This is the complete list of members for pocketmine\item\enchantment\ProtectionEnchantment, including all inherited members.

$applicableDamageTypes (defined in pocketmine\item\enchantment\ProtectionEnchantment)pocketmine\item\enchantment\ProtectionEnchantmentprotected
$typeModifier (defined in pocketmine\item\enchantment\ProtectionEnchantment)pocketmine\item\enchantment\ProtectionEnchantmentprotected
__construct(Translatable|string $name, int $rarity, int $primaryItemFlags, int $secondaryItemFlags, int $maxLevel, float $typeModifier, ?array $applicableDamageTypes, ?\Closure $minEnchantingPower=null, int $enchantingPowerRange=50)pocketmine\item\enchantment\ProtectionEnchantment
pocketmine::item::enchantment::Enchantment::__construct(private Translatable|string $name, private int $rarity, private int $primaryItemFlags, private int $secondaryItemFlags, private int $maxLevel, ?\Closure $minEnchantingPower=null, private int $enchantingPowerRange=50)pocketmine\item\enchantment\Enchantment
getMaxEnchantingPower(int $level)pocketmine\item\enchantment\Enchantment
getMaxLevel()pocketmine\item\enchantment\Enchantment
getMinEnchantingPower(int $level)pocketmine\item\enchantment\Enchantment
getName()pocketmine\item\enchantment\Enchantment
getPrimaryItemFlags()pocketmine\item\enchantment\Enchantment
getProtectionFactor(int $level)pocketmine\item\enchantment\ProtectionEnchantment
getRarity()pocketmine\item\enchantment\Enchantment
getSecondaryItemFlags()pocketmine\item\enchantment\Enchantment
getTypeModifier()pocketmine\item\enchantment\ProtectionEnchantment
hasPrimaryItemType(int $flag)pocketmine\item\enchantment\Enchantment
hasSecondaryItemType(int $flag)pocketmine\item\enchantment\Enchantment
isApplicable(EntityDamageEvent $event)pocketmine\item\enchantment\ProtectionEnchantment
isCompatibleWith(Enchantment $other)pocketmine\item\enchantment\Enchantment