Class SpellCastEvent.Pre
java.lang.Object
com.binaris.wizardry.api.content.event.SpellCastEvent
com.binaris.wizardry.api.content.event.SpellCastEvent.Pre
- All Implemented Interfaces:
IWizardryEvent
- Enclosing class:
- SpellCastEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.binaris.wizardry.api.content.event.SpellCastEvent
SpellCastEvent.Finish, SpellCastEvent.Post, SpellCastEvent.Pre, SpellCastEvent.Source, SpellCastEvent.Tick -
Constructor Summary
ConstructorsConstructorDescriptionPre(SpellCastEvent.Source source, Spell spell, net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers) Pre(SpellCastEvent.Source source, Spell spell, net.minecraft.world.level.Level world, double x, double y, double z, net.minecraft.core.Direction direction, SpellModifiers modifiers) -
Method Summary
Methods inherited from class com.binaris.wizardry.api.content.event.SpellCastEvent
getCaster, getDirection, getLevel, getModifiers, getSource, getSpell, getX, getY, getZ, isCanceled, setCanceled
-
Constructor Details
-
Pre
public Pre(SpellCastEvent.Source source, Spell spell, net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers) -
Pre
public Pre(SpellCastEvent.Source source, Spell spell, net.minecraft.world.level.Level world, double x, double y, double z, net.minecraft.core.Direction direction, SpellModifiers modifiers)
-
-
Method Details
-
canBeCanceled
public boolean canBeCanceled()
-