/
DISCLAIMER: All spell books and spell scrolls will be reset, due to major API changes. Some (looted) weapons with custom spell containers become non-functional, and need to be re-obtained. Apologies for the inconvenience.
API Breaking Changes:
SpellContainer structure
content field, replace by access fieldis_proxy fields, replace by access fieldaccess field, controlling the spell resolution behavior (ANY, NONE, MAGIC, ARCHERY, CONTAINED, TAG)access_param field, providing additional parameter for certain access types (such as tag name for TAG access type)extra_tier_binding field to SpellContainer, to specify spell choice limit per spell tiers<NAMESPACE>:spell_books/<TAG_NAME> - spell collections in this folder, are explicitly marked for generating spell books<NAMESPACE>:spell_scrolls/<TAG_NAME> - spell collections in this folder, are explicitly marked for generating scrolls<NAMESPACE>:weapon/<WEAPON_NAME> - spell collections meant for weapons (such as Wizard Staff)spell_engine:spell_scrollspell_scroll/ folder (such as: #wizards:spell_scroll/fire)<NAMESPACE>:models/item/spell_scroll/<TAG_NAME>.jsonitem.<NAMESPACE>.spell_scroll/<TAG_NAME>spell_engine:spell_bookspell_books/ folder (such as: #wizards:spell_book/fire)<NAMESPACE>:models/item/spell_book/<TAG_NAME>.jsonitem.<NAMESPACE>.spell_book/<TAG_NAME>PlayerAnimation object, instead of a plain StringPlayerAnimation supports: overrides, speedspell.active.cast.channel_ticks now representing the number of releases during channeling, instead of a duration interval (in game ticks) between channel releasesrpg_series.item, to better separate them from the core spell engine APIs
Equipment, Armor, ConfigurableAttributes, WeaponAPI Additions:
spell_choices data component
extra_tier_binding field of spell containerrpg_series package)
Weapons.java API, creating melee and magic weaponsShields.java API, creating shieldsRangedWeapons.java API, creating bows and crossbowsmodels/item/spell_book/models/item/spell_scroll/models/spell_projectile/models/spell_effect/spell.cost.cooldown.group field specifies the cooldown groupMELEE, for performing better combat alike weapon swings
DISRUPT
spell.cost.cooldown.attempt_duration to prevent multiple performs of delayed deliveriesWeaponAttributeGenerator to datagen APIFunctional changes:
config/spell_engine/weapon_fallbacks.jsonserver.json5melee_skills_area_focus_mode - Determines the focus mode (AREA vs DIRECT) for melee skills.spell_book_additional_cooldown - Additional cooldown in seconds applied to spell book items, to prevent quick swapping and casting."AIM+ deliver:DIRECT + area impact
Spell Engine - библиотека (API) для создания магии в Minecraft. Даёт разработчикам инструменты для spells, spell books и интеграции с weapons, а игрокам - полноценную систему casting с эффектами и анимациями.