Interface DirectionalSpellFieldEffect
- All Known Implementing Classes:
ImpulseEffect, OrbitEffect
public interface DirectionalSpellFieldEffect
Mixin-style capability interface implemented by
SpellFieldEffects that exert directional
forces along a FieldAxis (such as ImpulseEffect
and OrbitEffect).
Collected during SpellFieldComponent.apply(ServerLevel, int, EnchantedItemInUse, Entity, Vec3)
so that VectorFieldVisualEffect
and the client-side SpellFieldDebugRenderer can automatically
align particle velocities and debug vector arrows with the active kinetic field.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the activeFieldAxisalong which this effect operates.
-
Method Details
-
getActiveAxis
-