Package johnsmith.enchantmentcore.api.enchantment.spellfield.effect.entity
package johnsmith.enchantmentcore.api.enchantment.spellfield.effect.entity
-
Record ClassesClassDescriptionA
SpellFieldEntityEffectthat zeroes out a target entity's velocity vector and resets its accumulatedEntity.fallDistance, freezing the entity in mid-air without lethal fall damage buildup.ASpellFieldEntityEffectthat replenishes (when positive) or depletes (when negative) a target entity's oxygen air supply ticks, scaled by the entity's local topological multiplier.ASpellFieldEntityEffectthat applies one or more configuredPotionPayloadstatus effects directly to targetedLivingEntityinstances within a spell field volume.ASpellFieldEntityEffectthat reduces the remaining duration of all active status effects on targetedLivingEntityinstances by an amount scaled by the entity's local topological multiplier, removing any effect whose remaining duration drops to or below zero.ASpellFieldEntityEffectthat inflicts damage of a specifiedDamageTypeto targeted entities within a spell field volume, scaled by each target's local topological multiplier.ASpellFieldEntityEffectthat probabilistically forces targetedLivingEntityinstances to drop items equipped in specifiedEquipmentSlots into the world with a 40-tick pickup delay and a randomized outward scatter impulse.ASpellFieldEntityEffectthat reduces the remaining burn duration (Entity.getRemainingFireTicks()) of burning entities within a spell field volume, scaled by each target's local topological multiplier.ASpellFieldEntityEffectthat restores health points to targetedLivingEntityinstances within a spell field volume, scaled by each target's local topological multiplier.ASpellFieldEntityEffectthat sets targeted entities on fire for a configured duration in seconds, scaled by each target's local topological multiplier.A directionalSpellFieldEntityEffectthat applies a kinetic velocity impulse to targeted entities along a configuredFieldAxis(defaulting toFieldAxis.RADIAL), scaled by each entity's local topological multiplier.A directionalSpellFieldEntityEffectthat guides targeted entities into a stable circular or spherical orbit at a configurableOrbitEffect.orbitalRadius()around the spell field epicenter.ASpellFieldEntityEffectthat teleports targetedLivingEntityinstances to a random safe location withinRandomTeleportEffect.range()blocks (similar to chorus fruit consumption), dismounting passengers and playing teleportation sound effects.ASpellFieldEntityEffectthat resets the internal despawn age timer of targetedItemEntityandExperienceOrbinstances back to0ticks, preventing them from despawning while inside the spell field.Dual-purpose spell field effect that summons one or more entities of a configuredEntityType.ASpellFieldEntityEffectthat spawns a shrinkingAreaEffectCloudpopulated with configuredPotionPayloads at the position of each targeted entity within a spell field volume.