net.minecraft.advancements.critereon

public class ContextAwarePredicate

bc
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
private final List<LootItemCondition>
a
conditions
field_24389
conditions
f_285622_
private final Predicate<LootContext>
b
compositePredicates
field_24390
combinedCondition
f_285559_

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions)

Method summary

Modifier and TypeMethod
public static ContextAwarePredicate
a(efp... arg0)
create(LootItemCondition... arg0)
method_27973(class_5341... arg0)
create(LootCondition... conditions)
m_286108_(C_3004_... p_286844_)
public static Optional<Optional<ContextAwarePredicate>>
a(String arg0, bg arg1, com.google.gson.JsonElement arg2, eez 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(ecq arg0)
matches(LootContext arg0)
method_27806(class_47 arg0)
test(LootContext context)
m_285831_(C_2811_ arg0)
public com.google.gson.JsonElement
a()
toJson()
method_27804()
toJson()
m_286026_()
public static com.google.gson.JsonElement
a(List<bc> arg0)
toJson(List<ContextAwarePredicate> arg0)
method_27808(List<class_5258> arg0)
toPredicatesJsonArray(List<LootContextPredicate> arg0)
m_285805_(List<C_285556_> p_298375_)