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 av$a
intermediary net/minecraft/class_196$class_198
named net/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions
  • Field Details

    • parent

      private final EntityPredicate.Extended 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

      private final 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

      private final 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

      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

      public static BredAnimalsCriterion.Conditions 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(Ldrg;Ldrg;Ldrg;)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

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lan;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;