net.minecraft.advancements.critereon

public class EntityPredicate$Composite

bg$b
net.minecraft.advancements.critereon.EntityPredicate$Composite
net.minecraft.class_2048$class_5258
net.minecraft.predicate.entity.EntityPredicate$Extended
net.minecraft.advancements.criterion.EntityPredicate$AndPredicate
net.minecraft.server.v1_16_R2.CriterionConditionEntity$b

Field summary

Modifier and TypeField
public static final EntityPredicate$Composite
a
ANY
field_24388
EMPTY
field_234582_a_
private final LootItemCondition[]
b
conditions
field_24389
conditions
field_234583_b_
private final Predicate<LootContext>
c
compositePredicates
field_24390
combinedCondition
field_234584_c_

Constructor summary

ModifierConstructor
private (LootItemCondition[] conditions)

Method summary

Modifier and TypeMethod
public static EntityPredicate$Composite
a(dbl... arg0)
create(LootItemCondition... arg0)
method_27973(class_5341... arg0)
create(LootCondition... conditions)
func_234591_a_(ILootCondition... arg0)
public static EntityPredicate$Composite
a(com.google.gson.JsonObject arg0, String arg1, ax arg2)
fromJson(com.google.gson.JsonObject arg0, String arg1, DeserializationContext arg2)
method_27805(com.google.gson.JsonObject arg0, String arg1, class_5257 arg2)
getInJson(com.google.gson.JsonObject root, String key, AdvancementEntityPredicateDeserializer predicateDeserializer)
func_234587_a_(com.google.gson.JsonObject arg0, String arg1, ConditionArrayParser arg2)
public static EntityPredicate$Composite[]
b(com.google.gson.JsonObject arg0, String arg1, ax arg2)
fromJsonArray(com.google.gson.JsonObject arg0, String arg1, DeserializationContext arg2)
method_27809(com.google.gson.JsonObject arg0, String arg1, class_5257 arg2)
requireInJson(com.google.gson.JsonObject root, String key, AdvancementEntityPredicateDeserializer predicateDeserializer)
func_234592_b_(com.google.gson.JsonObject arg0, String arg1, ConditionArrayParser arg2)
private static EntityPredicate$Composite
a(String arg0, ax arg1, com.google.gson.JsonElement arg2)
fromElement(String arg0, DeserializationContext arg1, com.google.gson.JsonElement arg2)
method_27807(String arg0, class_5257 arg1, com.google.gson.JsonElement arg2)
fromJson(String key, AdvancementEntityPredicateDeserializer predicateDeserializer, com.google.gson.JsonElement json)
func_234589_a_(String arg0, ConditionArrayParser arg1, com.google.gson.JsonElement arg2)
public static EntityPredicate$Composite
a(bg arg0)
wrap(EntityPredicate arg0)
method_27803(class_2048 arg0)
ofLegacy(EntityPredicate predicate)
func_234585_a_(EntityPredicate arg0)
public boolean
a(cys arg0)
matches(LootContext arg0)
method_27806(class_47 arg0)
test(LootContext context)
func_234588_a_(LootContext arg0)
public com.google.gson.JsonElement
a(ci arg0)
toJson(SerializationContext arg0)
method_27804(class_5267 arg0)
toJson(AdvancementEntityPredicateSerializer predicateSerializer)
func_234586_a_(ConditionArraySerializer arg0)
public static com.google.gson.JsonElement
a(bg$b[] arg0, ci arg1)
toJson(EntityPredicate$Composite[] arg0, SerializationContext arg1)
method_27808(class_2048$class_5258[] arg0, class_5267 arg1)
toPredicatesJsonArray(EntityPredicate$Extended[] predicates, AdvancementEntityPredicateSerializer predicateSerializer)
func_234590_a_(EntityPredicate$AndPredicate[] arg0, ConditionArraySerializer arg1)