public interface ImmutableStoredEnchantmentData extends ImmutableListData<Enchantment,ImmutableStoredEnchantmentData,StoredEnchantmentData>
ImmutableDataManipulator handling "stored"
Enchantments. Usually, stored Enchantments can be
"transferred" to other ItemStacks. Examples include
ItemTypes.ENCHANTED_BOOKs storing enchantments to apply to weapons.| Modifier and Type | Method and Description |
|---|---|
default ImmutableListValue<Enchantment> |
enchantments()
|
asList, contains, get, getListValueasMutable, copy, with, withgetContentVersion, toContainerdefault ImmutableListValue<Enchantment> enchantments()