public class BredAnimalsCriterion extends AbstractCriterion<BredAnimalsCriterion.Conditions>
Modifier and Type | Class and Description |
---|---|
static class |
BredAnimalsCriterion.Conditions |
Criterion.ConditionsContainer<T extends CriterionConditions>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
ID |
Constructor and Description |
---|
BredAnimalsCriterion() |
Modifier and Type | Method and Description |
---|---|
BredAnimalsCriterion.Conditions |
conditionsFromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext) |
Identifier |
getId() |
void |
trigger(ServerPlayerEntity player,
AnimalEntity parent,
AnimalEntity partner,
PassiveEntity child) |
beginTrackingCondition, endTracking, endTrackingCondition, grant, test
private static final Identifier ID
public Identifier getId()
public BredAnimalsCriterion.Conditions conditionsFromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
public void trigger(ServerPlayerEntity player, AnimalEntity parent, @Nullable AnimalEntity partner, @Nullable PassiveEntity child)