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,ToggleableFeature
-
Field Summary
Fields inherited from class net.minecraft.entity.effect.StatusEffect
ENTRY_CODEC, ENTRY_PACKET_CODECFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyUpdateEffect(ServerWorld serverWorld, LivingEntity entity, int amplifier) booleancanApplyUpdateEffect(int duration, int amplifier) voidonApplied(LivingEntity entity, int amplifier) voidonRemoved(LivingEntity entity, int amplifier) Methods inherited from class io.github.xrickastley.sevenelements.effect.ElementalStatusEffect
applyPossibleStatusEffect, applyStatusEffect, asElementEffect, getEffectForElement, getElement, getElementEffects, getEntryForElement, isElementalEffectMethods inherited from class net.minecraft.entity.effect.StatusEffect
addAttributeModifier, applyInstantEffect, applySound, createParticle, fadeTicks, fadeTicks, forEachAttributeModifier, getCategory, getColor, getFadeInTicks, getFadeOutThresholdTicks, getFadeOutTicks, getName, getRequiredFeatures, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, onApplied, onEntityDamage, onEntityRemoval, onRemoved, playApplySound, requiresMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
FrozenStatusEffect
FrozenStatusEffect()
-
-
Method Details
-
onApplied
- Overrides:
onAppliedin classStatusEffect
-
onRemoved
-
applyUpdateEffect
- Overrides:
applyUpdateEffectin classStatusEffect
-
canApplyUpdateEffect
public boolean canApplyUpdateEffect(int duration, int amplifier) - Overrides:
canApplyUpdateEffectin classStatusEffect
-