| Package | Description |
|---|---|
| com.nukkitx.api.enchantment |
| Modifier and Type | Method and Description |
|---|---|
EnchantmentType |
EnchantmentBuilder.build() |
static EnchantmentType |
EnchantmentType.byId(int data) |
EnchantmentType |
EnchantmentInstance.getEnchantmentType() |
static EnchantmentType |
EnchantmentType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnchantmentType[] |
EnchantmentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
EnchantmentBuilder |
EnchantmentBuilder.type(EnchantmentType type) |
Copyright © 2017–2020 NukkitX. All rights reserved.