Package johnsmith.enchantmentcore.api.enchantment.spellfield.math
package johnsmith.enchantmentcore.api.enchantment.spellfield.math
-
ClassDescriptionDefines the mathematical norm used to measure spatial distance within a
Topology.Contract for a mathematical falloff function that maps a spatial distance from a topological origin or axis to a normalized effect intensity scalar.Defines local and topological spatial reference axes and their corresponding kinetic impulse unit vectors relative to a reference entity's orientation and an evaluation epicenter.Standard data-driven record implementation ofTopologydefining radial, axial, and omnidirectional distance falloff rules and tight bounding-box computation for aSpellFieldVolume.Encapsulates the evaluated spatial geometry and topological rules for a spell field volume expressed in absolute world coordinates.Encapsulates the evaluated spatial geometry and topological rules for a spell field volume expressed relative to an anchor entity's local origin for frame-interpolated client debug rendering.Represents a composite 3D spatial vector combining world-aligned Cartesian coordinates ($x, y, z$) with entity-relative local basis coordinates ($\text{forward}, \text{up}, \text{right}$).Contract defining an outer axis-aligned bounding box (AABB) structural frame that restricts spatial target collection for aSpellFieldVolume.Contract specifying the mathematical rule set that governs internal volume strength falloff, directional axis projection, and bounding box generation for a spell field volume.Evaluates whether a discrete block or particle effect should trigger at a given coordinate based on its local topological multiplier scalar.