public static class BredAnimalsCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private EntityPredicate.Extended |
child |
private EntityPredicate.Extended |
parent |
private EntityPredicate.Extended |
partner |
Constructor and Description |
---|
Conditions(EntityPredicate.Extended extended,
EntityPredicate.Extended extended2,
EntityPredicate.Extended extended3,
EntityPredicate.Extended extended4) |
Modifier and Type | Method and Description |
---|---|
static BredAnimalsCriterion.Conditions |
any() |
static BredAnimalsCriterion.Conditions |
create(EntityPredicate.Builder builder) |
boolean |
matches(LootContext lootContext,
LootContext lootContext2,
LootContext lootContext3) |
static BredAnimalsCriterion.Conditions |
method_29918(EntityPredicate entityPredicate,
EntityPredicate entityPredicate2,
EntityPredicate entityPredicate3) |
JsonObject |
toJson(AdvancementEntityPredicateSerializer predicateSerializer) |
getId, getPlayerPredicate, toString
private final EntityPredicate.Extended parent
private final EntityPredicate.Extended partner
private final EntityPredicate.Extended child
public Conditions(EntityPredicate.Extended extended, EntityPredicate.Extended extended2, EntityPredicate.Extended extended3, EntityPredicate.Extended extended4)
public static BredAnimalsCriterion.Conditions any()
public static BredAnimalsCriterion.Conditions create(EntityPredicate.Builder builder)
public static BredAnimalsCriterion.Conditions method_29918(EntityPredicate entityPredicate, EntityPredicate entityPredicate2, EntityPredicate entityPredicate3)
public boolean matches(LootContext lootContext, LootContext lootContext2, @Nullable LootContext lootContext3)
public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
toJson
in interface CriterionConditions
toJson
in class AbstractCriterionConditions