Class ReplenishHunger
java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.abstr.BuffSpell
com.binaris.wizardry.content.spell.healing.ReplenishHunger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SpellProperty<Integer>static final SpellProperty<Float>Fields inherited from class com.binaris.wizardry.content.spell.abstr.BuffSpell
b, effects, g, particleCount, potionSet, rFields inherited from class com.binaris.wizardry.api.content.spell.Spell
pitch, pitchVariation, volume -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanapplyEffects(CastContext ctx, net.minecraft.world.entity.LivingEntity caster) booleanbooleanbooleancast(PlayerCastContext ctx) protected @NotNull SpellPropertiesMethods inherited from class com.binaris.wizardry.content.spell.abstr.BuffSpell
cast, cast, getBonusAmplifier, getEffectDurationProperty, getEffectStrengthProperty, getPotionSet, getStandardBonusAmplifier, particleCount, spawnParticlesMethods 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
-
Field Details
-
HUNGER_POINTS
-
SATURATION_MODIFIER
-
-
Constructor Details
-
ReplenishHunger
public ReplenishHunger()
-
-
Method Details
-
applyEffects
- Overrides:
applyEffectsin classBuffSpell
-
cast
-
canCastByEntity
public boolean canCastByEntity()- Overrides:
canCastByEntityin classBuffSpell
-
canCastByLocation
public boolean canCastByLocation()- Overrides:
canCastByLocationin classBuffSpell
-
properties
- Overrides:
propertiesin classBuffSpell
-