Class FrozenStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
io.github.xrickastley.sevenelements.effect.ElementalStatusEffect
io.github.xrickastley.sevenelements.effect.FrozenStatusEffect
- All Implemented Interfaces:
EntityAwareEffect
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyUpdateEffect(LivingEntity entity, int amplifier) booleancanApplyUpdateEffect(int duration, int amplifier) voidonApplied(LivingEntity entity, AttributeContainer container, int amplifier) voidonRemoved(LivingEntity entity, int amplifier) voidonRemoved(LivingEntity entity, AttributeContainer attributes, int amplifier) Methods inherited from class io.github.xrickastley.sevenelements.effect.ElementalStatusEffect
applyPossibleStatusEffect, applyStatusEffect, asElementEffect, getEffectForElement, getElement, getElementEffects, isElementalEffectMethods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, adjustModifierAmount, applyInstantEffect, byRawId, getAttributeModifiers, getCategory, getColor, getFactorCalculationDataSupplier, getName, getRawId, getRawIdNullable, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, setFactorCalculationDataSupplier
-
Constructor Details
-
FrozenStatusEffect
FrozenStatusEffect()
-
-
Method Details
-
onApplied
- Overrides:
onAppliedin classStatusEffect
-
onRemoved
- Overrides:
onRemovedin classStatusEffect
-
onRemoved
-
applyUpdateEffect
- Overrides:
applyUpdateEffectin classStatusEffect
-
canApplyUpdateEffect
public boolean canApplyUpdateEffect(int duration, int amplifier) - Overrides:
canApplyUpdateEffectin classStatusEffect
-