Class SpellEvent.Cast
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
com.github.minecraftschurlimods.arsmagicalegacy.api.event.SpellEvent
com.github.minecraftschurlimods.arsmagicalegacy.api.event.SpellEvent.Cast
- Direct Known Subclasses:
SpellEvent.Cast.Component,SpellEvent.Cast.Post,SpellEvent.Cast.Pre
- Enclosing class:
- SpellEvent
public abstract static sealed class SpellEvent.Cast
extends SpellEvent
permits SpellEvent.Cast.Pre, SpellEvent.Cast.Post, SpellEvent.Cast.Component
Event that fires when a spell is cast. Has Pre and Post sub events.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEvent that fires for each spell component before it gets invoked.static final classEvent that fires after a spell is cast.static final classEvent that fires before a spell is cast.Nested classes/interfaces inherited from class com.github.minecraftschurlimods.arsmagicalegacy.api.event.SpellEvent
SpellEvent.BurnoutCost, SpellEvent.Cast, SpellEvent.ManaCost, SpellEvent.ModifyStats, SpellEvent.ReagentCostNested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
net.neoforged.neoforge.event.entity.living.LivingEvent.LivingJumpEvent, net.neoforged.neoforge.event.entity.living.LivingEvent.LivingTickEvent, net.neoforged.neoforge.event.entity.living.LivingEvent.LivingVisibilityEventNested classes/interfaces inherited from class net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.EntityEvent.EnteringSection, net.neoforged.neoforge.event.entity.EntityEvent.EntityConstructing, net.neoforged.neoforge.event.entity.EntityEvent.SizeNested classes/interfaces inherited from class net.neoforged.bus.api.Event
net.neoforged.bus.api.Event.HasResult, net.neoforged.bus.api.Event.Result -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.minecraftschurlimods.arsmagicalegacy.api.event.SpellEvent
getSpellMethods inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
getEntityMethods inherited from class net.neoforged.bus.api.Event
getResult, hasResult, setResult
-
Constructor Details
-
Cast
-