Package net.minecraft.world.effect
Class SaturationMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
net.minecraft.world.effect.InstantenousMobEffect
net.minecraft.world.effect.SaturationMobEffect
- All Implemented Interfaces:
FeatureElement
,IMobEffectExtension
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.effect.MobEffect
MobEffect.AttributeTemplate
-
Field Summary
Fields inherited from class net.minecraft.world.effect.MobEffect
CODEC, STREAM_CODEC
Fields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SaturationMobEffect
(MobEffectCategory p_294221_, int p_295725_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
applyEffectTick
(ServerLevel p_376353_, LivingEntity p_295892_, int p_296026_) Methods inherited from class net.minecraft.world.effect.InstantenousMobEffect
isInstantenous, shouldApplyEffectTickThisTick
Methods inherited from class net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, createModifiers, createParticleOptions, getBlendInDurationTicks, getBlendOutAdvanceTicks, getBlendOutDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getOrCreateDescriptionId, isBeneficial, onEffectAdded, onEffectStarted, onMobHurt, onMobRemoved, removeAttributeModifiers, requiredFeatures, requiredFeatures, setBlendDuration, setBlendDuration, withSoundOnAdded
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabled
Methods inherited from interface net.neoforged.neoforge.common.extensions.IMobEffectExtension
getSortOrder
-
Constructor Details
-
SaturationMobEffect
-
-
Method Details
-
applyEffectTick
- Overrides:
applyEffectTick
in classMobEffect
-