Skip to main content

Module apply_effects

Module apply_effects 

Source
Expand description

ApplyStatusEffectsConsumeEffect behavior (golden apple, poisonous potato, rotten flesh, etc.). Suspicious stew’s effect is a separate, unrelated SuspiciousStewEffects data component, not this.

Structs§

ApplyEffectsBehavior
Mirrors vanilla ApplyStatusEffectsConsumeEffect.apply: unlike drinking a potion, this always goes through LivingEntity.addEffect