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 au$a
intermediary net/minecraft/class_196$class_198
named net/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final LootContextPredicate
private final LootContextPredicate
private final LootContextPredicate
-
Constructor Summary
ConstructorDescriptionConditions
(LootContextPredicate player, LootContextPredicate parent, LootContextPredicate partner, LootContextPredicate 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
Lau$a;a:Lba;
intermediary field_1276
Lnet/minecraft/class_196$class_198;field_1276:Lnet/minecraft/class_5258;
named parent
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;parent:Lnet/minecraft/predicate/entity/LootContextPredicate;
-
partner
- Mappings:
Namespace Name Mixin selector official b
Lau$a;b:Lba;
intermediary field_1277
Lnet/minecraft/class_196$class_198;field_1277:Lnet/minecraft/class_5258;
named partner
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;partner:Lnet/minecraft/predicate/entity/LootContextPredicate;
-
child
- Mappings:
Namespace Name Mixin selector official c
Lau$a;c:Lba;
intermediary field_1275
Lnet/minecraft/class_196$class_198;field_1275:Lnet/minecraft/class_5258;
named child
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;child:Lnet/minecraft/predicate/entity/LootContextPredicate;
-
-
Constructor Details
-
Conditions
public Conditions(LootContextPredicate player, LootContextPredicate parent, LootContextPredicate partner, LootContextPredicate child) - Mappings:
Namespace Name Mixin selector official <init>
Lau$a;<init>(Lba;Lba;Lba;Lba;)V
intermediary <init>
Lnet/minecraft/class_196$class_198;<init>(Lnet/minecraft/class_5258;Lnet/minecraft/class_5258;Lnet/minecraft/class_5258;Lnet/minecraft/class_5258;)V
named <init>
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/entity/LootContextPredicate;)V
-
-
Method Details
-
any
- Mappings:
Namespace Name Mixin selector official c
Lau$a;c()Lau$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
Lau$a;a(Lbo$a;)Lau$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
Lau$a;a(Lbo;Lbo;Lbo;)Lau$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
Lau$a;a(Ldzc;Ldzc;Ldzc;)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
Lam;a(Lct;)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;
-