net.minecraft.advancements.critereon

public class ContextAwarePredicate

ba
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 ContextAwarePredicate
a
ANY
field_24388
EMPTY
f_285567_
private final LootItemCondition[]
b
conditions
field_24389
conditions
f_285622_
private final Predicate<LootContext>
c
compositePredicates
field_24390
combinedCondition
f_285559_

Constructor summary

ModifierConstructor
(LootItemCondition[] conditions)

Method summary

Modifier and TypeMethod
public static ContextAwarePredicate
a(eck... arg0)
create(LootItemCondition... arg0)
method_27973(class_5341... arg0)
create(LootCondition... conditions)
m_286108_(C_3004_... p_286844_)
public static ContextAwarePredicate
a(String arg0, be arg1, com.google.gson.JsonElement arg2, ebu arg3)
fromElement(String arg0, DeserializationContext arg1, com.google.gson.JsonElement arg2, LootContextParamSet arg3)
method_27807(String arg0, class_5257 arg1, com.google.gson.JsonElement arg2, class_176 arg3)
fromJson(String key, AdvancementEntityPredicateDeserializer predicateDeserializer, com.google.gson.JsonElement json, LootContextType contextType)
m_285802_(String p_286647_, C_723_ p_286323_, com.google.gson.JsonElement p_286520_, C_2970_ p_286912_)
public boolean
a(dzk arg0)
matches(LootContext arg0)
method_27806(class_47 arg0)
test(LootContext context)
m_285831_(C_2811_ arg0)
public com.google.gson.JsonElement
a(ct arg0)
toJson(SerializationContext arg0)
method_27804(class_5267 arg0)
toJson(AdvancementEntityPredicateSerializer predicateSerializer)
m_286026_(C_2205_ arg0)
public static com.google.gson.JsonElement
a(ba[] arg0, ct arg1)
toJson(ContextAwarePredicate[] arg0, SerializationContext arg1)
method_27808(class_5258[] arg0, class_5267 arg1)
toPredicatesJsonArray(LootContextPredicate[] predicates, AdvancementEntityPredicateSerializer predicateSerializer)
m_285805_(C_285556_[] p_286611_, C_2205_ p_286638_)