Class SummonWitherSkeleton

java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.abstr.MinionSpell<net.minecraft.world.entity.monster.WitherSkeleton>
com.binaris.wizardry.content.spell.necromancy.SummonWitherSkeleton

public class SummonWitherSkeleton extends MinionSpell<net.minecraft.world.entity.monster.WitherSkeleton>
  • Constructor Details

    • SummonWitherSkeleton

      public SummonWitherSkeleton()
  • Method Details

    • addMinionExtras

      protected void addMinionExtras(net.minecraft.world.entity.monster.WitherSkeleton minion, CastContext ctx, int alreadySpawned)
      Description copied from class: MinionSpell
      Applies additional effects or modifications to the minion after it has been created and its lifetime has been set, but before it is added to the world. This is called for each minion that is spawned, and allows you to apply spell-specific behavior or effects to the minions.
      Overrides:
      addMinionExtras in class MinionSpell<net.minecraft.world.entity.monster.WitherSkeleton>
      Parameters:
      minion - The minion entity that has been created and had its lifetime set, but has not yet been added to the world.
      ctx - The context of the spell cast, which may contain useful information for modifying the minion.
      alreadySpawned - The number of minions that have already been spawned by this spell cast. This can be used to apply different effects to different minions if multiple are spawned.