Class SpeedTime
java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.sorcery.SpeedTime
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SpellProperty<Integer>static final SpellProperty<Float>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 SpellPropertiesbooleanMethods 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, soundValues, toString
-
Field Details
-
TIME_INCREMENT
-
EXTRA_TICKS
-
-
Constructor Details
-
SpeedTime
public SpeedTime()
-
-
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) -
requiresPacket
public boolean requiresPacket()- Overrides:
requiresPacketin classSpell
-
isInstantCast
public boolean isInstantCast()- Overrides:
isInstantCastin classSpell
-
properties
- Specified by:
propertiesin classSpell
-