Property | Type | Description | |
---|---|---|---|
$words |
Property | Type | Description | |
---|---|---|---|
$enchantments |
Method | Description | |
---|---|---|
equals ( |
||
getActivationType ( ) | ||
getEnchantAbility ( |
||
getEnchantMaxLevel ( integer $enchantmentId ) | ||
getEnchantWeight ( integer $enchantmentId ) | ||
getEnchantment ( integer $id ) | ||
getEnchantmentByName ( $name ) | ||
getId ( ) | ||
getLevel ( ) | ||
getName ( ) : string | ||
getRandomName ( ) | ||
getRarity ( ) | ||
getSlot ( ) | ||
hasSlot ( $slot ) | ||
init ( ) | ||
setLevel ( integer $level ) |
Method | Description | |
---|---|---|
__construct ( $id, $name, $rarity, $activationType, $slot ) |
public static getEnchantAbility ( |
||
$item |
public static getEnchantMaxLevel ( integer $enchantmentId ) | ||
$enchantmentId | integer |
public static getEnchantWeight ( integer $enchantmentId ) | ||
$enchantmentId | integer |
protected static Enchantment[],pocketmine\item\enchantment $enchantments | ||
return |