Class Levitation
java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.sorcery.Levitation
-
Field Summary
Fields inherited from class com.binaris.wizardry.api.content.spell.Spell
pitch, pitchVariation, volume -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancast(PlayerCastContext ctx) booleanprotected voidplaySound(net.minecraft.world.level.Level world, double x, double y, double z, int ticksInUse, int duration) protected voidplaySound(net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity, int castTicks, int duration) protected @NotNull SpellPropertiesMethods inherited from class com.binaris.wizardry.api.content.spell.Spell
assignProperties, canCastByEntity, canCastByLocation, cast, cast, endCast, equals, getAction, getChargeUp, getCooldown, getCost, getDesc, getDescriptionFormatted, getDescriptionId, getElement, getIcon, getLocation, getLoopSounds, getOrCreateDescriptionId, getOrCreateLocation, getPitch, getPitchVariation, getProperties, getTier, getType, getVolume, isEnabled, onCharge, playSound, playSoundLoop, playSoundLoop, property, requiresPacket, soundValues, toString
-
Constructor Details
-
Levitation
public Levitation()
-
-
Method Details
-
cast
-
playSound
protected void playSound(net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity, int castTicks, int duration) -
playSound
protected void playSound(net.minecraft.world.level.Level world, double x, double y, double z, int ticksInUse, int duration) -
isInstantCast
public boolean isInstantCast()- Overrides:
isInstantCastin classSpell
-
properties
- Specified by:
propertiesin classSpell
-