Expand description
Mob-effect behaviors: one small module per vanilla MobEffect subtype
under net/minecraft/world/effect.
Modulesยง
- absorption ๐
AbsorptionMobEffectbehavior.- bad_
omen ๐ BadOmenMobEffectbehavior.- heal_
or_ ๐harm HealOrHarmMobEffectbehavior (Instant Health / Instant Damage).- hunger ๐
HungerMobEffectbehavior.- infested ๐
InfestedMobEffectbehavior.- oozing ๐
OozingMobEffectbehavior.- poison ๐
PoisonMobEffectbehavior.- raid_
omen ๐ RaidOmenMobEffectbehavior.- regeneration ๐
RegenerationMobEffectbehavior.- saturation ๐
SaturationMobEffectbehavior.- weaving ๐
WeavingMobEffectbehavior.- wind_
charged ๐ WindChargedMobEffectbehavior.- wither ๐
WitherMobEffectbehavior.
Structsยง
- Absorption
Behavior - Mirrors vanilla
AbsorptionMobEffect: expires once absorption hearts run out, rather than on a duration timer. - BadOmen
Behavior - Mirrors vanilla
BadOmenMobEffect. - Heal
OrHarm Behavior - Mirrors vanilla
HealOrHarmMobEffect - Hunger
Behavior - Mirrors vanilla
HungerMobEffect. - Infested
Behavior - Mirrors vanilla
InfestedMobEffect. - Oozing
Behavior - Mirrors vanilla
OozingMobEffect. - Poison
Behavior - Mirrors vanilla
PoisonMobEffect. Poison never kills: it stops dealing damage once the entityโs health drops to 1.0 or below. - Raid
Omen Behavior - Mirrors vanilla
RaidOmenMobEffect. - Regeneration
Behavior - Mirrors vanilla
RegenerationMobEffect. - Saturation
Behavior - Mirrors vanilla
SaturationMobEffect. Only overridesapplyEffectTick;applyInstantaneousEffectfalls back toInstantaneousMobEffectโs default forwarding, matching vanilla โSaturationMobEffectdoesnโt override it either. - Weaving
Behavior - Mirrors vanilla
WeavingMobEffect. - Wind
Charged Behavior - Mirrors vanilla
WindChargedMobEffect. - Wither
Behavior - Mirrors vanilla
WitherMobEffect.
Traitsยง
- Instantaneous
MobEffect - The instantaneous-only half of a
MobEffectBehaviorthat also extends vanillaInstantaneousMobEffect. - MobEffect
Behavior - One vanilla
MobEffectsubtypeโs runtime behavior. Default methods match vanillaโs ownMobEffectbase-class defaults, so an effect with no registered behavior (most of them) behaves exactly like a bare vanillaMobEffectinstance.