Class Shockwave
java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.abstr.AreaEffectSpell
com.binaris.wizardry.content.spell.sorcery.Shockwave
-
Field Summary
FieldsFields inherited from class com.binaris.wizardry.content.spell.abstr.AreaEffectSpell
alwaysSucceed, particleDensity, targetAlliesFields inherited from class com.binaris.wizardry.api.content.spell.Spell
pitch, pitchVariation, volume -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaffectEntity(CastContext ctx, net.minecraft.world.phys.Vec3 origin, net.minecraft.world.entity.LivingEntity target, int targetCount) protected @NotNull SpellPropertiesprotected voidspawnParticleEffect(CastContext ctx, net.minecraft.world.phys.Vec3 origin, double radius) Methods inherited from class com.binaris.wizardry.content.spell.abstr.AreaEffectSpell
alwaysSucceed, canCastByEntity, canCastByLocation, cast, cast, cast, findAndAffectEntities, particleDensity, spawnParticle, targetAlliesMethods 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, requiresPacket, soundValues, toString
-
Field Details
-
MAX_REPULSION_VELOCITY
-
-
Constructor Details
-
Shockwave
public Shockwave()
-
-
Method Details
-
affectEntity
protected boolean affectEntity(CastContext ctx, net.minecraft.world.phys.Vec3 origin, net.minecraft.world.entity.LivingEntity target, int targetCount) - Specified by:
affectEntityin classAreaEffectSpell
-
spawnParticleEffect
protected void spawnParticleEffect(CastContext ctx, net.minecraft.world.phys.Vec3 origin, double radius) - Overrides:
spawnParticleEffectin classAreaEffectSpell
-
properties
- Specified by:
propertiesin classSpell
-