Class FontOfMana
java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.abstr.AreaEffectSpell
com.binaris.wizardry.content.spell.healing.FontOfMana
-
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) static voidprotected @NotNull SpellPropertiesprotected voidspawnParticle(net.minecraft.world.level.Level world, double x, double y, double z) Methods inherited from class com.binaris.wizardry.content.spell.abstr.AreaEffectSpell
alwaysSucceed, canCastByEntity, canCastByLocation, cast, cast, cast, findAndAffectEntities, particleDensity, spawnParticleEffect, 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
-
FontOfMana
public FontOfMana()
-
-
Method Details
-
onSpellCastPreEvent
-
affectEntity
protected boolean affectEntity(CastContext ctx, net.minecraft.world.phys.Vec3 origin, net.minecraft.world.entity.LivingEntity target, int targetCount) - Specified by:
affectEntityin classAreaEffectSpell
-
spawnParticle
protected void spawnParticle(net.minecraft.world.level.Level world, double x, double y, double z) - Overrides:
spawnParticlein classAreaEffectSpell
-
properties
- Specified by:
propertiesin classSpell
-