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(net.minecraft.server.level.ServerLevel, int, net.minecraft.world.item.enchantment.EnchantedItemInUse, net.minecraft.world.entity.Entity, net.minecraft.world.phys.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.