Свойство | Тип | Описание | |
---|---|---|---|
$words |
Свойство | Тип | Описание | |
---|---|---|---|
$enchantments |
Метод | Описание | |
---|---|---|
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 ) |
Метод | Описание | |
---|---|---|
__construct ( $id, $name, $rarity, $activationType, $slot ) |
public static getEnchantAbility ( |
||
$item |
public static getEnchantMaxLevel ( integer $enchantmentId ) | ||
$enchantmentId | integer |
public static getEnchantWeight ( integer $enchantmentId ) | ||
$enchantmentId | integer |
public static getEnchantment ( integer $id ) | ||
$id | integer |
protected static Enchantment[],pocketmine\item\enchantment $enchantments | ||
Результат |