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()
NBTSerializable
process
in interface NBTSerializable
public Map<Enchantment,Short> storedEnchantments()
EnchantedBookMeta
storedEnchantments
in interface EnchantedBookMeta
public int repairCost()
EnchantedBookMeta
repairCost
in interface EnchantedBookMeta
Copyright © 2016. All rights reserved.