Class SpellCastEvent.Post
java.lang.Object
com.binaris.wizardry.api.content.event.SpellCastEvent
com.binaris.wizardry.api.content.event.SpellCastEvent.Post
- 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.Sources, SpellCastEvent.Tick -
Constructor Summary
ConstructorsConstructorDescriptionPost(SpellCastEvent.Source source, Spell spell, CastContext context) Post(SpellCastEvent.Source source, Spell spell, net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers) Deprecated, for removal: This API element is subject to removal in a future version.Post(SpellCastEvent.Source source, Spell spell, net.minecraft.world.level.Level world, double x, double y, double z, net.minecraft.core.Direction direction, SpellModifiers modifiers) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class com.binaris.wizardry.api.content.event.SpellCastEvent
getCaster, getContext, getDirection, getLevel, getModifiers, getSource, getSpell, getX, getY, getZ, isCanceled, setCanceled
-
Constructor Details
-
Post
-
Post
@Deprecated(forRemoval=true) public Post(SpellCastEvent.Source source, Spell spell, net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers) Deprecated, for removal: This API element is subject to removal in a future version. -
Post
@Deprecated(forRemoval=true) public Post(SpellCastEvent.Source source, Spell spell, net.minecraft.world.level.Level world, double x, double y, double z, net.minecraft.core.Direction direction, SpellModifiers modifiers) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
canBeCanceled
public boolean canBeCanceled()
-