Changelog - TheComputerGeek2/MagicSpells GitHub Wiki
[!NOTE]
4.0 Beta 18has been tested on1.21.4-1.21.8.
Changes:
- The
ExternalCommandSpelloptioncommand-to-execute-latercan now use the rest of the available placeholders. - The default value for
ops-ignore-(reagents/cooldowns/cast-times)ingeneral.ymlhas been changed tofalse. - Added
namespaced-keyto custom recipes as a more appropriate alias tonamespace-key. Any namespace may now be used, whilemagicspellsremains the default. - Custom recipe choices now support item and block tags. Tags can now be prefixed with
#instead of justtag:. - Added Predicate support to
ResistSpell,InvulnerabilitySpellanddamagepassive trigger's Damage Type list. - With
can-cast-with-item: false, spells will remain disabled from casting with items, but the spell will now be bound to its cast item. - Most teleportations done by MagicSpells will now attempt to retain passengers if the teleportation origin and destination are done in the same world.
- Spells and spell effect options no longer override the Entity Data configuration with their defaults (e.g. in
SpawnEntitySpell, thegravityof Entity Data is overridden by the spell'sgravity, whether set or left as default). - The
armorstandspell effect optionsgravityandcustom-name-visibilitynow support expressions.
Additions:
- Added
%a_uuid,%t_uuid, and%r_uuidplaceholders. - Added new spell effects:
- Added
auto-discover(boolean) to custom recipes. Crafting recipes marked astrue(default) will be discovered by any online player, like before. - Added
potioncustom recipe for brewing stands. - Added
hasrecipemodifier condition. - Added
.targeted.DiscoverRecipeSpellfor discovering or un-discovering recipes. - Function expressions are now evaluated with EvalEx rather than exp4j. This adds multiple new functions to expressions, as well as boolean logic. Check out the full list here.
- Added
check-can-cast-with-itemtoBindSpell, which defaults totrue. Whenfalse, thecan-cast-with-itemwill no longer prevent binding. - Added
fake-blocksboolean option (trueby default) to.targeted.NovaSpellandnovaspell effect. - The
inventoryclickPassive trigger now has a section format with the following options:click- ClickTypeaction- InventoryActionslot-type- SlotTypehotbar-item- Magic Item String - Available withclick: number_keycurrent-item- Magic Item Stringcursor-item- Magic Item String
- Added
minionoption toMinionSpellwhich accepts an Entity Data configuration section. Due to conflicts, ifminionis used,babyhas to be configured within it, not the spell option. - New Entity Data options:
- Nameable:
custom-name- Rich Text
- Entity:
custom-name-visible- Boolean
item:dropped-item- Vanilla item format or Magic Item String
- Nameable:
Fixes:
- Fixed an issue with
MagnetSpellwhere items could be picked up when they had data preventing normal pickup. - Fixed an issue with the Magic Items caching being unlimited, causing lag when accessed in some cases.
- Fixed an issue with
meta_altitudenot considering the world's heightmap or, in some cases, non-passable blocks other than air. - Fixed Magic Item
fake-glintnot applying theenchantment_glint_overrideitem component added in1.20.x. - Fixed an issue with
ResistSpellsending a warning withdamage-types: true- despite the feature working. - Fixed a rounding issue with
MultiSpellwhen usingenable-custom-spell-cast-chance. - Fixed an issue with
MinionSpelloptionmob-chancesnot properly accounting for weighted probability total being> 100. - Fixed an issue with the
path_tomob goal default speed being too slow.