Class SpellPartCastEvent.Component
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<SpellComponent>
at.minecraftschurli.mods.arsmagicalegacy.api.event.SpellPartCastEvent.Component
- Enclosing class:
SpellPartCastEvent<T extends SpellPart>
Event that is fired when a
SpellComponent is cast.-
Nested Class Summary
Nested classes/interfaces inherited from class SpellPartCastEvent
SpellPartCastEvent.Component, SpellPartCastEvent.PrimaryShape, SpellPartCastEvent.SecondaryShapeNested 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.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.Size -
Constructor Summary
ConstructorsConstructorDescriptionComponent(SpellComponent component, List<SpellModifier> modifiers, SpellCastContext context) -
Method Summary
Methods inherited from class SpellPartCastEvent
getContext, getModifiers, getSpellPartMethods inherited from class SpellEvent
getSpellMethods inherited from class net.neoforged.neoforge.event.entity.living.LivingEvent
getEntity
-
Constructor Details
-
Component
- Parameters:
component- TheSpellComponentbeing cast.modifiers- The list ofSpellModifiers used by the spell part.context- TheSpellCastContextused by the spell cast.
-