Class BredAnimalsCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.BredAnimalsCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
BredAnimalsCriterion
- Mappings:
Namespace Name official av$a
intermediary net/minecraft/class_196$class_198
named net/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EntityPredicate.Extended
private final EntityPredicate.Extended
private final EntityPredicate.Extended
-
Constructor Summary
ConstructorDescriptionConditions
(EntityPredicate.Extended player, EntityPredicate.Extended parent, EntityPredicate.Extended partner, EntityPredicate.Extended child) -
Method Summary
Modifier and TypeMethodDescriptionany()
create
(EntityPredicate.Builder child) create
(EntityPredicate parent, EntityPredicate partner, EntityPredicate child) boolean
matches
(LootContext parentContext, LootContext partnerContext, @Nullable LootContext childContext) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector official a
Lav$a;a:Lbo$b;
intermediary field_1276
Lnet/minecraft/class_196$class_198;field_1276:Lnet/minecraft/class_2048$class_5258;
named parent
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;parent:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
-
partner
- Mappings:
Namespace Name Mixin selector official b
Lav$a;b:Lbo$b;
intermediary field_1277
Lnet/minecraft/class_196$class_198;field_1277:Lnet/minecraft/class_2048$class_5258;
named partner
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;partner:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
-
child
- Mappings:
Namespace Name Mixin selector official c
Lav$a;c:Lbo$b;
intermediary field_1275
Lnet/minecraft/class_196$class_198;field_1275:Lnet/minecraft/class_2048$class_5258;
named child
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;child:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
-
-
Constructor Details
-
Conditions
public Conditions(EntityPredicate.Extended player, EntityPredicate.Extended parent, EntityPredicate.Extended partner, EntityPredicate.Extended child) - Mappings:
Namespace Name Mixin selector official <init>
Lav$a;<init>(Lbo$b;Lbo$b;Lbo$b;Lbo$b;)V
intermediary <init>
Lnet/minecraft/class_196$class_198;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;)V
named <init>
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
-
-
Method Details
-
any
- Mappings:
Namespace Name Mixin selector official c
Lav$a;c()Lav$a;
intermediary method_860
Lnet/minecraft/class_196$class_198;method_860()Lnet/minecraft/class_196$class_198;
named any
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;any()Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lav$a;a(Lbo$a;)Lav$a;
intermediary method_861
Lnet/minecraft/class_196$class_198;method_861(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_196$class_198;
named create
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;
-
create
public static BredAnimalsCriterion.Conditions create(EntityPredicate parent, EntityPredicate partner, EntityPredicate child) - Mappings:
Namespace Name Mixin selector official a
Lav$a;a(Lbo;Lbo;Lbo;)Lav$a;
intermediary method_29918
Lnet/minecraft/class_196$class_198;method_29918(Lnet/minecraft/class_2048;Lnet/minecraft/class_2048;Lnet/minecraft/class_2048;)Lnet/minecraft/class_196$class_198;
named create
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;
-
matches
public boolean matches(LootContext parentContext, LootContext partnerContext, @Nullable @Nullable LootContext childContext) - Mappings:
Namespace Name Mixin selector official a
Lav$a;a(Ldlc;Ldlc;Ldlc;)Z
intermediary method_862
Lnet/minecraft/class_196$class_198;method_862(Lnet/minecraft/class_47;Lnet/minecraft/class_47;Lnet/minecraft/class_47;)Z
named matches
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;matches(Lnet/minecraft/loot/context/LootContext;Lnet/minecraft/loot/context/LootContext;Lnet/minecraft/loot/context/LootContext;)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lan;a(Lcr;)Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;
-