|
| getId () |
|
| getName () |
|
| getRarity () |
|
| getActivationType () |
|
| getSlot () |
|
| hasSlot ($slot) |
|
| getLevel () |
|
| setLevel ($level) |
|
|
static | init () |
|
static | getEnchantment ($id) |
|
static | getEffectByName ($name) |
|
|
const | TYPE_INVALID = -1 |
|
const | TYPE_ARMOR_PROTECTION = 0 |
|
const | TYPE_ARMOR_FIRE_PROTECTION = 1 |
|
const | TYPE_ARMOR_FALL_PROTECTION = 2 |
|
const | TYPE_ARMOR_EXPLOSION_PROTECTION = 3 |
|
const | TYPE_ARMOR_PROJECTILE_PROTECTION = 4 |
|
const | TYPE_ARMOR_THORNS = 5 |
|
const | TYPE_WATER_BREATHING = 6 |
|
const | TYPE_WATER_SPEED = 7 |
|
const | TYPE_WATER_AFFINITY = 8 |
|
const | TYPE_WEAPON_SHARPNESS = 9 |
|
const | TYPE_WEAPON_SMITE = 10 |
|
const | TYPE_WEAPON_ARTHROPODS = 11 |
|
const | TYPE_WEAPON_KNOCKBACK = 12 |
|
const | TYPE_WEAPON_FIRE_ASPECT = 13 |
|
const | TYPE_WEAPON_LOOTING = 14 |
|
const | TYPE_MINING_EFFICIENCY = 15 |
|
const | TYPE_MINING_SILK_TOUCH = 16 |
|
const | TYPE_MINING_DURABILITY = 17 |
|
const | TYPE_MINING_FORTUNE = 18 |
|
const | TYPE_BOW_POWER = 19 |
|
const | TYPE_BOW_KNOCKBACK = 20 |
|
const | TYPE_BOW_FLAME = 21 |
|
const | TYPE_BOW_INFINITY = 22 |
|
const | TYPE_FISHING_FORTUNE = 23 |
|
const | TYPE_FISHING_LURE = 24 |
|
const | RARITY_COMMON = 0 |
|
const | RARITY_UNCOMMON = 1 |
|
const | RARITY_RARE = 2 |
|
const | RARITY_MYTHIC = 3 |
|
const | ACTIVATION_EQUIP = 0 |
|
const | ACTIVATION_HELD = 1 |
|
const | ACTIVATION_SELF = 2 |
|
const | SLOT_NONE = 0 |
|
const | SLOT_ALL = 0b11111111111111 |
|
const | SLOT_ARMOR = 0b1111 |
|
const | SLOT_HEAD = 0b1 |
|
const | SLOT_TORSO = 0b10 |
|
const | SLOT_LEGS = 0b100 |
|
const | SLOT_FEET = 0b1000 |
|
const | SLOT_SWORD = 0b10000 |
|
const | SLOT_BOW = 0b100000 |
|
const | SLOT_TOOL = 0b111000000 |
|
const | SLOT_HOE = 0b1000000 |
|
const | SLOT_SHEARS = 0b10000000 |
|
const | SLOT_FLINT_AND_STEEL = 0b10000000 |
|
const | SLOT_DIG = 0b111000000000 |
|
const | SLOT_AXE = 0b1000000000 |
|
const | SLOT_PICKAXE = 0b10000000000 |
|
const | SLOT_SHOVEL = 0b10000000000 |
|
const | SLOT_FISHING_ROD = 0b100000000000 |
|
const | SLOT_CARROT_STICK = 0b1000000000000 |
|
static getEnchantment |
( |
|
$id | ) |
|
|
static |
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/item/enchantment/Enchantment.php