Class Levitation

java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.sorcery.Levitation

public class Levitation extends Spell
  • Constructor Details

    • Levitation

      public Levitation()
  • Method Details

    • cast

      public boolean cast(PlayerCastContext ctx)
      Specified by:
      cast in class Spell
    • playSound

      protected void playSound(net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity, int castTicks, int duration)
      Overrides:
      playSound in class Spell
    • playSound

      protected void playSound(net.minecraft.world.level.Level world, double x, double y, double z, int ticksInUse, int duration)
      Overrides:
      playSound in class Spell
    • isInstantCast

      public boolean isInstantCast()
      Overrides:
      isInstantCast in class Spell
    • properties

      @NotNull protected @NotNull SpellProperties properties()
      Specified by:
      properties in class Spell