Class SummonZombie

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

public class SummonZombie extends MinionSpell<net.minecraft.world.entity.monster.Zombie>
  • Constructor Details

    • SummonZombie

      public SummonZombie()
  • Method Details

    • createMinion

      protected net.minecraft.world.entity.monster.Zombie createMinion(net.minecraft.world.level.Level world, @Nullable @Nullable net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers)
      Description copied from class: MinionSpell
      Creates the minion entity. This is called during the casting process, and allows you to modify the minion before it is added to the world by applying modifiers or passing the caster as an argument. By default, this just calls the minion factory, but it can be overridden to provide more complex behavior.
      Overrides:
      createMinion in class MinionSpell<net.minecraft.world.entity.monster.Zombie>
      Parameters:
      world - The world the minion is being created in.
      caster - The caster of the spell, if available. This may be null if the spell is being cast by a non-entity or if the caster is not available for some reason.
      modifiers - The spell modifiers that may affect the minion's attributes or behavior.
      Returns:
      The created minion entity.
    • properties

      @NotNull protected @NotNull SpellProperties properties()
      Description copied from class: Spell
      This method is where you should set the default properties for your spell when creating a new spell class. This method is called in the constructor of the Spell class, and the properties returned by this method are assigned to the spell's properties field.
      Overrides:
      properties in class MinionSpell<net.minecraft.world.entity.monster.Zombie>
      Returns:
      A SpellProperties object with the default properties for your spell.