Class SpellCastEvent.Tick
java.lang.Object
com.binaris.wizardry.api.content.event.SpellCastEvent
com.binaris.wizardry.api.content.event.SpellCastEvent.Tick
- 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
ConstructorsConstructorDescriptionTick(SpellCastEvent.Source source, Spell spell, CastContext context) Tick(SpellCastEvent.Source source, Spell spell, net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers, int ticks) Deprecated, for removal: This API element is subject to removal in a future version.Tick(SpellCastEvent.Source source, Spell spell, net.minecraft.world.level.Level world, double x, double y, double z, net.minecraft.core.Direction direction, SpellModifiers modifiers, int ticks) Deprecated, for removal: This API element is subject to removal in a future version.UseTick(Source, Spell, CastContext)with aLocationCastContext.. -
Method Summary
Modifier and TypeMethodDescriptionbooleanintDeprecated, for removal: This API element is subject to removal in a future version.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
-
Tick
-
Tick
@Deprecated(forRemoval=true) public Tick(SpellCastEvent.Source source, Spell spell, net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers, int ticks) Deprecated, for removal: This API element is subject to removal in a future version.UseTick(Source, Spell, CastContext)with anEntityCastContext.. -
Tick
@Deprecated(forRemoval=true) public Tick(SpellCastEvent.Source source, Spell spell, net.minecraft.world.level.Level world, double x, double y, double z, net.minecraft.core.Direction direction, SpellModifiers modifiers, int ticks) Deprecated, for removal: This API element is subject to removal in a future version.UseTick(Source, Spell, CastContext)with aLocationCastContext..
-
-
Method Details
-
getTicksCasting
Deprecated, for removal: This API element is subject to removal in a future version. -
canBeCanceled
public boolean canBeCanceled()
-
Tick(Source, Spell, CastContext)with anEntityCastContext..