-
Added
1.20.2
-1.20.4
support. -
Added
min-horizontal-radius
andmin-vertical-radius
to the AreaEffect spell. -
Placeholders
%a
and%t
now prioritise returning the non-player entity's display name before its configured name fromentity-names
ingeneral.yml
. -
Added
lastdamagecause.attacker
data element returning its display name. -
moonphase
condition now accepts PaperMC's moon phases. Legacy grouped phases are still supported:full
,waning
,new
,waxing
. -
string
modifier action now supports string expressions. -
Added
meta_forwards_movement
andmeta_sideways_movement
meta variables. -
PlayerMenu spell no longer has
spell-middle
because it can no longer be detected and addedspell-drop
andspell-swap
. -
Added custom recipe
category
option:- Cooking book category for
blasting
,campfire
,furnace
, andsmoking
recipe types. - Crafing book category for
shaped
andshapeless
recipe types.
- Cooking book category for
-
signtext
modifier condition format has changed (backwards compatible) toside;world,x,y,z,line__1\nline__2
:side;
is optional and can befront;
(default) orback;
world,x,y,z
is also optional. If omitted, it'll use the caster's or target's location.- Text lines can be split by
\\n
or\n
, spaces can be represented with__
.
-
Entity and block/location target checks now take into account accurate hitboxes and shapes of entities/blocks.
- Added the
los-ray-size
option togeneral.yml
and spell options. Defaults to0.2
. Determines the size of the ray used for checking line of sight to entities when retrieving an entity target. - Added the
los-ignore-passable-blocks
option togeneral.yml
and spell options. Defaults totrue
. Whentrue
, passable blocks (blocks that do not have any colliding parts that stop movement) are ignored for entity/location targeting. For example, air and tall grass are passable. - Added the
los-fluid-collision-mode
option togeneral.yml
and spell options. Defaults tonever
, and has the valuesalways
,never
andsource_only
as according to here. Determines whether or not fluids are collided with when retrieving entity/location targets. los-transparent-blocks
now defaults to an empty list. TheAIR
,CAVE_AIR
andVOID_AIR
are still automatically added to an empty list forlos-transparent-blocks
, however.- Note: some spells still do not take into account accurate collision shapes. These spells include, but are not limited to,
BeamSpell
,BlockBeamSpell
,OrbitSpell
,ParticleProjectileSpell
andHomingMissileSpell
.
- Added the
-
The
title
andauthor
options of magic items now support MiniMessage. -
Magic items now support the
external::vanilla
serialization type. This format for items is the same as the vanilla/give
command. -
The
potion-color
option of magic items has been replaced by thecolor
option, for consistency. -
The
potion-data
option of magic items has been replaced by thepotion-type
option. The previous format,<potion type> [extended/upgraded]
, is now just<potion type>
, as extended/upgraded potion types are now their own, separate values. -
ReachSpell
now supports placing blocks in blocks tagged as replaceable, instead of just air blocks. -
BuildSpell
andPulserSpell
now check if the block they attempt to set is placeable in the target location. -
Added block location modifiers:
buildable
,burnable
,collidable
,passable
,replaceable
, andsolid
.
- Fixed
onteam
andonsameteam
conditions requiring player targets. - Fixed SpawnEntity spell throwing spawn chance errors when using non-Mob entities.
- Fixed PlayerMenu spell throwing errors when the opener clicked outside the inventory.
- Fixed
signtext
modifier condition not comparing text properly. - Fixed an issue where
location-modifiers
forLoopSpell
were checked after applyingy-offset
to the targeted location, instead of before. - Fixed an issue that allowed dragging items into menus created from
MenuSpell
andPlayerMenuSpell
. - Fixed ConjureSpell
offhand: true
giving duplicate items. - Fixed MultiSpell
enable-custom-spell-chance
not calculating random spells correctly. - Fixed an issue where the
/ms magicitem
command modified the stored item stack version of a magic item. - Fixed an issue with the
uuid
option of magic items that could cause an error. - Fixed an issue that caused magic items using the
name
orlore
options to match improperly.
From above:
- PlayerMenu spell no longer has
spell-middle
. - The
potion-color
option of magic items has been replaced by thecolor
option, for consistency. - The
potion-data
option of magic items has been replaced by thepotion-type
option. The previous format,<potion type> [extended/upgraded]
, is now just<potion type>
, as extended/upgraded potion types are now their own, separate values.