Package johnsmith.enchantmentcore.api.enchantment.spellfield.shape
package johnsmith.enchantmentcore.api.enchantment.spellfield.shape
-
Record ClassesClassDescriptionA uniform cubic
SpellFieldShapeextending equally byCubeShape.radius()along all three global axes ($X, Y, Z$) from the evaluation epicenter.An axis-aligned rectangular prismSpellFieldShapewith independent half-extents along the global $X$, $Y$, and $Z$ axes.An orientation-aware cuboidSpellFieldShapethat aligns itsDeepCuboidShape.depthRadius()with the nearest cardinal axis (including vertical up/down) of the caster's 3D look vector, while applyingDeepCuboidShape.heightWidthRadius()to the two orthogonal cross-sectional axes (ideal for 3D tunnel mining).Represents a single spatial sub-volume within aSpellFieldComponent, pairing an optional outerSpellFieldShapeandSpatialVectoroffset with an optional internalFieldTopology.A horizontal orientation-aware cuboidSpellFieldShapethat applieswidthRadius()perpendicular to the caster's horizontal cardinal facing direction andheightDepthRadius()along the vertical and forward axes (ideal for wide cleaves or walls).