Note
4.0 Beta 14
only supports1.20.4
.- All changes are already on the Wiki
variables: | |
protego_diabolica_target_x: | |
type: playerstring | |
protego_diabolica_target_z: | |
type: playerstring | |
protego_diabolica_radius: | |
type: player | |
protego_diabolica_rotate_loop: | |
spell-class: ".targeted.LoopSpell" |
RepairSpell
saving the repaired chestplate
into the helmet
slot.can-target
was not specified.SilenceSpell
overriding its targeting to always target players.remove
on CleanseSpell to cause an error.FlightPathSpell
option land-spell
not being specified.Added 1.20.2
-1.20.4
support.
Added min-horizontal-radius
and min-vertical-radius
to the AreaEffect spell.
Placeholders %a
and %t
now prioritise returning the non-player entity's display name before its configured name from entity-names
in general.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
and meta_sideways_movement
meta variables.
fataldamage
now supports damage causes in TriggerVar, separated by |
lightlevel
condition now supports optional light type - type;=15
. type can be
all(default),
skyor
block`.variable-mods-target
the player whose variable is modified is the target's by default. You can now change this by using: caster:varName =<varMod>
ignore-radius: false
to AreaEffect spells. When true
, it makes the AOE target all entities.blockbreak
location spell effect (block break cracking), with range: 32
(display range), and stage: 1
(0-10)%a
and %t
can now be used in areas that use config data string replacement.%t
placeholder will now use an entity's name instead of unknown
when its type isn'pass-targeting
on TargetedMultiSpell, AreaEffectSpell, and LoopSpell to false, matching old behaviour.hit-radius
and vertical-hit-radius
of ParticleProjectileSpell were halved when hitting entities. IMPORTANT: divide those values in your configurations by 2. Tony made a tool for this here.types
list for NovaEffect till it's fixed.spells
no longer only casts buff spells.entity
effect can now play at spell locations.delay
, chance
, power
and args
now support GVR. Additionally, arguments are now passed to subspell casts, allowing for argument replacement.(required)
& [optional]
Placeholder | Description |
---|---|
<var:[target,caster,name,uuid]:(varName):[max,min]:[precision]> |
Variable |
<arg:(index):[defaultValue]> |
Spell argumnent |
<papi:[caster,target,name,uuid]:(placeholder)> |
Papi placeholder |
<data:[caster,target,name,uuid]:(dataElement)> |
Data elements |
<cooldown:[caster,target,name,uuid]:(spell):[now]:[precision]> |
Cooldown |
`` | Spell Charges |
str-
messages, magic items (names, lore, book pages), conjure book, etc. https://docs.adventure.kyori.net/minimessage/loopactive (loopSpell)
and ownedloopactive (loopSpell)
modifier conditions.loop:(loopSpell)
prefix in the remove
property.spell-on-entity-location
to Beam, Bow, and Projectile spells.targetedblock.x
, targetedblock.y
, targetedblock.z
(eye location) data elements to Data spell.force
property to particle spell effects.str-on-teach
for spells.client-side
, added visible-to-everyone"
and visible-to-caster
.package com.jasperlorelai.cerberus.util; | |
import java.util.Map; | |
import java.util.HashMap; | |
import org.bukkit.Bukkit; | |
import org.bukkit.plugin.Plugin; | |
import org.bukkit.event.Listener; | |
import org.bukkit.event.EventHandler; |