Class SpellEvent.ManaCost
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.ManaCost
- Direct Known Subclasses:
SpellEvent.ManaCost.Post,SpellEvent.ManaCost.Pre
- Enclosing class:
- SpellEvent
public abstract static sealed class SpellEvent.ManaCost
extends SpellEvent
permits SpellEvent.ManaCost.Pre, SpellEvent.ManaCost.Post
Event that fires when mana cost is retrieved. Has Pre and Post sub events.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEvent to modify the calculated mana cost.static final classEvent to modify the base cost and the modifier for the mana cost.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.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
Constructors -
Method Summary
Methods 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
-
ManaCost
-