public interface ImmutableStoredEnchantmentData extends ImmutableListData<Enchantment,ImmutableStoredEnchantmentData,StoredEnchantmentData>
ImmutableDataManipulator
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 ImmutableListValue<Enchantment> |
enchantments()
|
asList, contains, get, getListValue
asMutable, copy, with, with
getContentVersion, toContainer
default ImmutableListValue<Enchantment> enchantments()