Class BredAnimalsTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.BredAnimalsTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- BredAnimalsTrigger
-
Field Summary
Modifier and TypeFieldDescriptionprivate EntityPredicate.Composite
private EntityPredicate.Composite
private EntityPredicate.Composite
-
Constructor Summary
ConstructorDescriptionTriggerInstance(EntityPredicate.Composite p_18663_, EntityPredicate.Composite p_18664_, EntityPredicate.Composite p_18665_, EntityPredicate.Composite p_18666_)
-
Method Summary
Modifier and TypeMethodDescriptionbredAnimals(EntityPredicate.Builder p_18668_)
bredAnimals(EntityPredicate p_18670_, EntityPredicate p_18671_, EntityPredicate p_18672_)
boolean
matches(LootContext p_18676_, LootContext p_18677_, LootContext p_18678_)
com.google.gson.JsonObject
serializeToJson(SerializationContext p_18674_)
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
parent
-
partner
-
child
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(EntityPredicate.Composite p_18663_, EntityPredicate.Composite p_18664_, EntityPredicate.Composite p_18665_, EntityPredicate.Composite p_18666_)
-
-
Method Details
-
bredAnimals
-
bredAnimals
-
bredAnimals
public static BredAnimalsTrigger.TriggerInstance bredAnimals(EntityPredicate p_18670_, EntityPredicate p_18671_, EntityPredicate p_18672_) -
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-