Changelog - TheComputerGeek2/MagicSpells GitHub Wiki
[!NOTE]
4.0 Beta 17
has been tested on1.21.3
.- All changes are already on the wiki.
Changes:
- Removed character limitation (alphanumeric +
_
) on default values of the%arg
placeholder in spell messages and string expressions. - Removed
[3, 16]
length limitation on player names in string expressions for the%playervar
and%playerpapi
placeholders. - Passive spells configured with
helper-spell: true
will now trigger for any player. - Spell
cooldown
now supports function expressions. RegrowSpell
can now targetbogged
.ShearSpell
can now target allShearable
. Addedvanilla-sheep-shearing
boolean option for backward compatibility, which defaults tofalse
.
Additions:
- Added predefined Spell Filter tags:
magicspells:beneficial
for spells configured withbeneficial: true
magicspells:helper-spell
for spells configured withhelper-spell: true
- The Legacy String Spell Filter now supports a new form of a String Spell Filter with logical expressions. Some options that only supported the Config Spell Filter now also support the new String filter (but not the legacy one):
- General Spell Config |
interrupt-filter
ImpactRecordSpell
|filter
ListSpell
|filter
- General Spell Config |
- Added meta variable
meta_attack_cooldown
. It gets the current cooldown for a player's attack, with1.0
representing a fully charged attack. - Adds the
respect-item-cooldowns
option togeneral.yml
, which defaults tofalse
. Whentrue
, an item with a cooldown (white hotbar overlay) cannot be used to cast or cycle spells. - Spell
shared-cooldown
has been expanded with a Config format and Spell Filters. - Added
usingitem
modifier condition. Passes if the Magic Item in the ConditionArg is actively "used" or consumed.
Fixes:
- Fixed an issue where the
ModifyCooldownSpell
only worked if the spell was on cooldown. - Fixed an issue with the
LightwalkSpell
throwing errors while turning off and not removing light blocks in some cases. - Fixed an issue with the
LilywalkSpell
not working correctly. - Fixed an issue with Subspell's
chance
cast argument being in the range0-1
instead of0-100
. - Fixed an issue with the
ExternalCommandSpell
'sblock-chat-output
andstore-chat-output
options, which didn't correctly capture plugin chat message types. Those options unfortunately can no longer capture Vanilla command chat output. - Fixed an issue with the
DisguiseSpell
sending errors when LibsDisguises wasn't present. - Fixed an issue with the
SpawnEntitySpell
throwing an error during reload if an entity withduration
did not expire.