net.minecraft.advancements.critereon

public class ContextAwarePredicate

bg
net.minecraft.advancements.critereon.ContextAwarePredicate
net.minecraft.class_5258
net.minecraft.predicate.entity.LootContextPredicate
net.minecraft.src.C_285556_
net.minecraft.advancements.critereon.ContextAwarePredicate

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ContextAwarePredicate>
a
CODEC
field_47234
CODEC
f_303282_
private final List<LootItemCondition>
b
conditions
field_24389
conditions
f_285622_
private final Predicate<LootContext>
c
compositePredicates
field_24390
combinedCondition
f_285559_

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions)

Method summary

Modifier and TypeMethod
public static ContextAwarePredicate
a(evc... arg0)
create(LootItemCondition... arg0)
method_27973(class_5341... arg0)
create(LootCondition... conditions)
m_286108_(C_3004_... p_286844_)
public boolean
a(err arg0)
matches(LootContext arg0)
method_27806(class_47 arg0)
test(LootContext context)
m_285831_(C_2811_ arg0)
public void
a(erx arg0)
validate(ValidationContext arg0)
method_54959(class_58 arg0)
validateConditions(LootTableReporter reporter)
m_305566_(C_2837_ arg0)