Class TameAnimalTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.TameAnimalTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- TameAnimalTrigger
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTriggerInstance(EntityPredicate.Composite p_68846_, EntityPredicate.Composite p_68847_)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches(LootContext p_68853_)
com.google.gson.JsonObject
serializeToJson(SerializationContext p_68851_)
tamedAnimal(EntityPredicate p_68849_)
Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
entity
-
-
Constructor Details
-
TriggerInstance
-
-
Method Details
-
tamedAnimal
-
tamedAnimal
-
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-