Class ForceArrowSpell
java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.abstr.ArrowSpell<ForceArrow>
com.binaris.wizardry.content.spell.magic.ForceArrowSpell
-
Field Summary
Fields inherited from class com.binaris.wizardry.content.spell.abstr.ArrowSpell
arrowFactoryFields inherited from class com.binaris.wizardry.api.content.spell.Spell
pitch, pitchVariation, volume -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddArrowExtras(CastContext ctx, ForceArrow arrow) Makes changes to arrows before it's spawned.protected @NotNull SpellPropertiesThis method is where you should set the default properties for your spell when creating a new spell class.Methods inherited from class com.binaris.wizardry.content.spell.abstr.ArrowSpell
calculateVelocity, canCastByEntity, canCastByLocation, cast, cast, cast, requiresPacketMethods 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
-
ForceArrowSpell
public ForceArrowSpell()
-
-
Method Details
-
addArrowExtras
Description copied from class:ArrowSpellMakes changes to arrows before it's spawned. Override this is subclasses to apply special effects- Overrides:
addArrowExtrasin classArrowSpell<ForceArrow>- Parameters:
ctx- The context of the spell cast, which may contain useful information for modifying the arrow.arrow- The arrow instance to modify.
-
properties
Description copied from class:SpellThis 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:
propertiesin classArrowSpell<ForceArrow>- Returns:
- A SpellProperties object with the default properties for your spell.
-