Class FontOfMana


public class FontOfMana extends AreaEffectSpell
  • Constructor Details

    • FontOfMana

      public FontOfMana()
  • Method Details

    • onSpellCastPreEvent

      public static void onSpellCastPreEvent(SpellCastEvent.Pre event)
    • affectEntity

      protected boolean affectEntity(CastContext ctx, net.minecraft.world.phys.Vec3 origin, net.minecraft.world.entity.LivingEntity target, int targetCount)
      Specified by:
      affectEntity in class AreaEffectSpell
    • spawnParticle

      protected void spawnParticle(net.minecraft.world.level.Level world, double x, double y, double z)
      Overrides:
      spawnParticle in class AreaEffectSpell
    • properties

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