Class BredAnimalsCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.BredAnimalsCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- BredAnimalsCriterion
public static class BredAnimalsCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official ao$a
intermediary net/minecraft/class_196$class_198
named net/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private EntityPredicate.Extended
child
private EntityPredicate.Extended
parent
private EntityPredicate.Extended
partner
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, EntityPredicate.Extended parent, EntityPredicate.Extended partner, EntityPredicate.Extended child)
-
Method Summary
Modifier and Type Method Description static BredAnimalsCriterion.Conditions
any()
static BredAnimalsCriterion.Conditions
create(EntityPredicate.Builder child)
static BredAnimalsCriterion.Conditions
create(EntityPredicate parent, EntityPredicate partner, EntityPredicate child)
boolean
matches(LootContext parentContext, LootContext partnerContext, LootContext childContext)
JsonObject
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
Lao$a;a:Lbg$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
Lao$a;b:Lbg$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
Lao$a;c:Lbg$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>
Lao$a;<init>(Lbg$b;Lbg$b;Lbg$b;Lbg$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
Lao$a;c()Lao$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
Lao$a;a(Lbg$a;)Lao$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
Lao$a;a(Lbg;Lbg;Lbg;)Lao$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 LootContext childContext)- Mappings:
Namespace Name Mixin selector official a
Lao$a;a(Ldei;Ldei;Ldei;)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
Lag;a(Lci;)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;
-