Class Tornado
java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.abstr.ConstructSpell<TornadoConstruct>
com.binaris.wizardry.content.spell.earth.Tornado
-
Field Summary
Fields inherited from class com.binaris.wizardry.content.spell.abstr.ConstructSpell
allowOverlap, constructFactory, permanent, requiresFloorFields inherited from class com.binaris.wizardry.api.content.spell.Spell
pitch, pitchVariation, volume -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddConstructExtras(CastContext ctx, TornadoConstruct construct, net.minecraft.core.Direction side) Applies additional modifications to the construct after it has been created and configured, but before it is added to the world.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.ConstructSpell
canCastByEntity, canCastByLocation, cast, cast, cast, floor, overlap, requiresPacket, spawnConstructMethods 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
-
Tornado
public Tornado()
-
-
Method Details
-
addConstructExtras
protected void addConstructExtras(CastContext ctx, TornadoConstruct construct, net.minecraft.core.Direction side) Description copied from class:ConstructSpellApplies additional modifications to the construct after it has been created and configured, but before it is added to the world.Override this method in subclasses to apply spell-specific behavior, additional attributes, or visual effects to the construct.
- Overrides:
addConstructExtrasin classConstructSpell<TornadoConstruct>- Parameters:
ctx- the cast context containing spell information and modifiersconstruct- construct entity that has been created and configuredside- direction the construct is facing, or null if not applicable
-
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 classConstructSpell<TornadoConstruct>- Returns:
- A SpellProperties object with the default properties for your spell.
-