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

    • parent

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

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

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

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