net.minecraft.advancements.critereon

public record MobEffectsPredicate

cm
net.minecraft.advancements.critereon.MobEffectsPredicate
net.minecraft.class_2102
net.minecraft.predicate.entity.EntityEffectPredicate
net.minecraft.src.C_1907_
net.minecraft.advancements.critereon.CriterionConditionMobEffect

Field summary

Modifier and TypeField
private final Map<Holder<MobEffect>, MobEffectsPredicate$MobEffectInstancePredicate>
b
effectMap
comp_1811
effects
f_290320_
public static final com.mojang.serialization.Codec<MobEffectsPredicate>
a
CODEC
field_45764
CODEC
f_291643_

Constructor summary

ModifierConstructor
public (Map<Holder<MobEffect>, MobEffectsPredicate$MobEffectInstancePredicate> effects)

Method summary

Modifier and TypeMethod
public boolean
a(biq arg0)
matches(Entity arg0)
method_9062(class_1297 arg0)
test(Entity entity)
m_56555_(C_507_ arg0)
public boolean
a(bjg arg0)
matches(LivingEntity arg0)
method_9067(class_1309 arg0)
test(LivingEntity livingEntity)
m_56557_(C_524_ arg0)
public boolean
a(Map<bib, bid> arg0)
matches(Map<MobEffect, MobEffectInstance> arg0)
method_9063(Map<class_1291, class_1293> arg0)
test(Map<StatusEffect, StatusEffectInstance> effects)
m_56561_(Map<C_496_, C_498_> arg0)
public static Optional<MobEffectsPredicate>
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_9064(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
m_56559_(com.google.gson.JsonElement p_56560_)
public com.google.gson.JsonElement
a()
serializeToJson()
method_9068()
toJson()
m_56565_()
public Map<Holder<MobEffect>, MobEffectsPredicate$MobEffectInstancePredicate>
b()
effectMap()
comp_1811()
effects()
f_290320_()