Class SpellPartCastEvent<T extends SpellPart>

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
at.minecraftschurli.mods.arsmagicalegacy.api.event.SpellEvent
at.minecraftschurli.mods.arsmagicalegacy.api.event.SpellPartCastEvent<T>
Direct Known Subclasses:
SpellPartCastEvent.Component, SpellPartCastEvent.PrimaryShape, SpellPartCastEvent.SecondaryShape

public abstract class SpellPartCastEvent<T extends SpellPart> extends SpellEvent

Event that is fired when a particular spell part is cast. Has type-specific sub events.

In order to perform additional functionality when the spell as a whole is cast, use SpellCastEvent.

This event is not cancelable. This event is fired on the main event bus.