public class EnchantedBookMetaImpl extends Object implements EnchantedBookMeta, NBTSerializable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
EnchantedBookMetaImpl.NBTEnchantment |
| Constructor and Description |
|---|
EnchantedBookMetaImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
process()
Called when all fields have been set.
|
int |
repairCost()
Gets this EnchantedBook's cost to apply in an anvil in experience levels.
|
Map<Enchantment,Short> |
storedEnchantments()
Gets a mapping of all enchantments stored in this Enchanted Book.
|
public EnchantedBookMetaImpl()
public void process()
NBTSerializableprocess in interface NBTSerializablepublic Map<Enchantment,Short> storedEnchantments()
EnchantedBookMetastoredEnchantments in interface EnchantedBookMetapublic int repairCost()
EnchantedBookMetarepairCost in interface EnchantedBookMetaCopyright © 2016. All rights reserved.