# 1.4.0
IMPORTANT DISCLAIMER:
- Items in the spell book trinket slot will be lost (as the slot itself is being relocated)
- This update requires content mods to be updated, due to major API changes
Functional changes:
- Add support for spell scroll slot, can be enabled using data pack
- Rework trinkets integration, to declare custom slot group
- Rework container merge logic
- Spell cooldowns now get imposed onto the hosting item
- Durability cost of spell cast will be imposed on the source ItemStack of the spell (if possible)
- Spell projectiles may perform area impacts when colliding blocks
- Fix empty spell scrolls generated in loot chests
- Updated loot defaults (Illager Invasion)
API Changes:
- Add `spell.cost.cooldown_hosting_item` to disable imposing spell cooldowns onto the hosting item
- Add `spell.range_melee` to match spell range with melee attack range (EIR)
- Add `spell.impact.target_conditions` allowing entity type specific immunities, weaknesses and resistances
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }