Class CryoStatusEffect
java.lang.Object
net.minecraft.entity.effect.StatusEffect
io.github.xrickastley.sevenelements.effect.ElementalStatusEffect
io.github.xrickastley.sevenelements.effect.CryoStatusEffect
- 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) 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, forEachAttributeModifier, getCategory, getColor, getFadeTicks, getName, getRequiredFeatures, getTranslationKey, isBeneficial, isInstant, loadTranslationKey, onApplied, 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 io.github.xrickastley.sevenelements.interfaces.EntityAwareEffect
onRemovedMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
CryoStatusEffect
CryoStatusEffect()
-
-
Method Details
-
applyUpdateEffect
- Overrides:
applyUpdateEffectin classStatusEffect
-
canApplyUpdateEffect
public boolean canApplyUpdateEffect(int duration, int amplifier) - Overrides:
canApplyUpdateEffectin classStatusEffect
-