public interface StoredEnchantmentData extends ListData<Enchantment,StoredEnchantmentData,ImmutableStoredEnchantmentData>
DataManipulator
handling "stored" Enchantment
s.
Usually, stored Enchantment
s can be "transferred" to other
ItemStack
s. Examples include ItemTypes.ENCHANTED_BOOK
s
storing enchantments to apply to weapons.Modifier and Type | Method and Description |
---|---|
default ListValue<Enchantment> |
enchantments()
|
addElement, addElement, addElements, asList, contains, get, getListValue, remove, remove, removeAll, removeAll, setElement, setElements
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
default ListValue<Enchantment> enchantments()
Keys.STORED_ENCHANTMENTS