Class SpellEvent.Cast.Component
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.living.LivingEvent
com.github.minecraftschurlimods.arsmagicalegacy.api.event.SpellEvent
com.github.minecraftschurlimods.arsmagicalegacy.api.event.SpellEvent.Cast
com.github.minecraftschurlimods.arsmagicalegacy.api.event.SpellEvent.Cast.Component
- Enclosing class:
- SpellEvent.Cast
Event that fires for each spell component before it gets invoked.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.minecraftschurlimods.arsmagicalegacy.api.event.SpellEvent.Cast
SpellEvent.Cast.Component, SpellEvent.Cast.Post, SpellEvent.Cast.PreNested 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.minecraftforge.event.entity.living.LivingEvent
net.minecraftforge.event.entity.living.LivingEvent.LivingJumpEvent, net.minecraftforge.event.entity.living.LivingEvent.LivingTickEvent, net.minecraftforge.event.entity.living.LivingEvent.LivingVisibilityEventNested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.EntityEvent.EnteringSection, net.minecraftforge.event.entity.EntityEvent.EntityConstructing, net.minecraftforge.event.entity.EntityEvent.SizeNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionComponent(net.minecraft.world.entity.LivingEntity entity, ISpell spell, ISpellComponent component, List<ISpellModifier> modifiers, @Nullable net.minecraft.world.phys.HitResult target) -
Method Summary
Modifier and TypeMethodDescription@Nullable net.minecraft.world.phys.HitResultMethods inherited from class com.github.minecraftschurlimods.arsmagicalegacy.api.event.SpellEvent
getSpellMethods inherited from class net.minecraftforge.event.entity.living.LivingEvent
getEntityMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Component
public Component(net.minecraft.world.entity.LivingEntity entity, ISpell spell, ISpellComponent component, List<ISpellModifier> modifiers, @Nullable @Nullable net.minecraft.world.phys.HitResult target)
-
-
Method Details
-
getComponent
-
getTarget
@Nullable public @Nullable net.minecraft.world.phys.HitResult getTarget() -
getModifiers
-