Class SpellPartCastEvent.PrimaryShape
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<PrimarySpellShape>
at.minecraftschurli.mods.arsmagicalegacy.api.event.SpellPartCastEvent.PrimaryShape
- Enclosing class:
SpellPartCastEvent<T extends SpellPart>
Event that is fired when a
PrimarySpellShape 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
ConstructorsConstructorDescriptionPrimaryShape(PrimarySpellShape shape, 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
-
PrimaryShape
public PrimaryShape(PrimarySpellShape shape, List<SpellModifier> modifiers, SpellCastContext context) - Parameters:
shape- ThePrimarySpellShapebeing cast.modifiers- The list ofSpellModifiers used by the spell part.context- TheSpellCastContextused by the spell cast.
-