-
Notifications
You must be signed in to change notification settings - Fork 0
Entity Effects
JohnSmith474 edited this page Sep 21, 2026
·
1 revision
Entity effects (SpellFieldEntityEffect) are applied to every valid entity captured within the spell field's evaluated volume.
The strength, duration, or probability of these effects is automatically scaled by the Volume Scalar—the topological multiplier (0.0 to 1.0) calculated based on the entity's specific distance from the epicenter.
-
entity_filter(Optional): A standard vanillaContextAwarePredicate. Only entities matching this loot condition will be affected. - Volume Scalar Application: Most absolute values (like damage or duration) are directly multiplied by the volume scalar before application.
-
damage_entity: Inflicts absolute damage points utilizing a specificDamageTyperegistry key. (Damage is multiplied by the volume scalar). -
heal: Restores raw health points toLivingEntitytargets. (Heal amount is multiplied by the volume scalar). -
apply_potion: Afflicts the entity with a list of mob effects (PotionPayload). Both the duration and amplifier are evaluated dynamically. -
clear_effects: Subtracts ticks from the duration of all active mob effects on the target. If the duration drops to zero, the effect is removed. -
ignite: Sets the entity on fire for a specific duration in seconds. -
extinguish: Subtracts ticks from the entity's active fire timer, putting them out. -
air_supply: Directly adds or subtracts oxygen ticks, useful for drowning or underwater breathing fields. -
disarm: Forces the entity to drop currently equipped gear from specifiedEquipmentSlots based on adrop_chance.
-
impulse: Applies a sudden burst of kinetic velocity to the entity.-
strength: The magnitude of the velocity. -
direction: AFieldAxis(e.g.,radial,vertical) determining the push direction.
-
-
orbit: Locks the entity into a structured gravitational orbit around the epicenter.-
attraction_strength: The gravitational pull toward the orbital ring. -
orbital_radius: The distance the entity attempts to maintain from the center. -
orbit_velocity: The tangential speed at which the entity revolves. -
drag_multiplier: Dampens existing momentum to stabilize the orbit. -
axis: The geometric plane of the orbit. (If omitted, a chaotic spherical orbit is used).
-
-
absolute_stasis: Nullifies all delta movement and suspends fall damage accumulation. Freezes the entity in mid-air. -
random_teleport: Blindly relocates the entity to a random safe coordinate within a specifiedrange(Chorus Fruit style teleportation).
-
summon_entity: Spawns a secondary entity (e.g., Zombies, Arrows) exactly at the victim's coordinates. Thecountparameter supports fractional probabilities (e.g.,1.5spawns 1 entity guaranteed, with a 50% chance for a second). -
summon_lingering_potion: Spawns anAreaEffectCloud(lingering potion cloud) centered on the victim. -
reset_lifetime: Resets the despawn timers (age) of targetedItemEntityorExperienceOrbtargets back to 0.
-
play_sound_entity: Triggers a localized sound event attached to the moving entity. -
burst_entity: Emits a burst of particles directly from the entity's center point.
Want to learn more about the configuration engine powering Enchantment Core?
Check out Config Understood, the official wiki for Config Overhauled, for a deep dive into dynamic property generation and state synchronization!