Class BlindingFlash
java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.abstr.AreaEffectSpell
com.binaris.wizardry.content.spell.lightning.BlindingFlash
-
Field Summary
Fields 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, 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, requiresPacket, setProperties, soundValues, toString
-
Constructor Details
-
BlindingFlash
public BlindingFlash()
-
-
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
-