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>
-
Field Summary
Fields inherited from class com.binaris.wizardry.content.spell.abstr.MinionSpell
flying, HEALTH_MODIFIER, minionFactory, POTENCY_ATTRIBUTE_MODIFIER, shouldDeleteBaseGoals, shouldFollowOwnerFields inherited from class com.binaris.wizardry.api.content.spell.Spell
pitch, pitchVariation, volume -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddMinionExtras(net.minecraft.world.entity.monster.WitherSkeleton minion, CastContext ctx, int alreadySpawned) 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.Methods inherited from class com.binaris.wizardry.content.spell.abstr.MinionSpell
canCastByEntity, canCastByLocation, cast, cast, cast, createMinion, extraConditions, flying, properties, requiresPacket, setLifetime, setSearchNearbyTargets, setShouldDeleteGoals, setShouldFollowOwner, spawnMinionsMethods inherited from class com.binaris.wizardry.api.content.spell.Spell
assignProperties, endCast, equals, getAction, getChargeUp, getCooldown, getCost, getDesc, getDescriptionFormatted, getDescriptionId, getElement, getIcon, getLocation, getLoopSounds, getOrCreateDescriptionId, getOrCreateLocation, getPitch, getPitchVariation, getProperties, getTier, getType, getVolume, isEnabled, isInstantCast, onCharge, playSound, playSound, playSound, playSoundLoop, playSoundLoop, property, soundValues, toString
-
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:MinionSpellApplies 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:
addMinionExtrasin classMinionSpell<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.
-