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(ForceArrow arrow, CastContext ctx) Makes changes to arrows before it's spawned.protected @NotNull SpellPropertiesMethods 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, getAction, getCharge, getCooldown, getCost, getDesc, getDescriptionFormatted, getDescriptionId, getElement, getIcon, getLocation, getLoopSounds, getOrCreateDescriptionId, getOrCreateLocation, getPitch, getPitchVariation, getProperties, getTier, getType, getVolume, hasEnded, is, is, is, isEmpty, isEnabled, isInstantCast, onCharge, playSound, playSound, playSound, playSoundLoop, playSoundLoop, property, setProperties, 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:
arrow- The arrow instance to modify.ctx- The context of the spell cast, which may contain useful information for modifying the arrow.
-
properties
- Overrides:
propertiesin classArrowSpell<ForceArrow>
-