Class BredAnimalsCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.BredAnimalsCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
BredAnimalsCriterion
- Mappings:
Namespace Name official aw$a
intermediary net/minecraft/class_196$class_198
named net/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Optional<LootContextPredicate>
private final Optional<LootContextPredicate>
private final Optional<LootContextPredicate>
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> parentPredicate, Optional<LootContextPredicate> partnerPredicate, Optional<LootContextPredicate> childPredicate) -
Method Summary
Modifier and TypeMethodDescriptionany()
create
(Optional<EntityPredicate> parent, Optional<EntityPredicate> partner, Optional<EntityPredicate> child) create
(EntityPredicate.Builder child) boolean
matches
(LootContext parentContext, LootContext partnerContext, @Nullable LootContext childContext) private static boolean
parentMatches
(Optional<LootContextPredicate> parent, LootContext parentContext) com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector official a
Law$a;a:Ljava/util/Optional;
intermediary field_1276
Lnet/minecraft/class_196$class_198;field_1276:Ljava/util/Optional;
named parent
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;parent:Ljava/util/Optional;
-
partner
- Mappings:
Namespace Name Mixin selector official b
Law$a;b:Ljava/util/Optional;
intermediary field_1277
Lnet/minecraft/class_196$class_198;field_1277:Ljava/util/Optional;
named partner
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;partner:Ljava/util/Optional;
-
child
- Mappings:
Namespace Name Mixin selector official c
Law$a;c:Ljava/util/Optional;
intermediary field_1275
Lnet/minecraft/class_196$class_198;field_1275:Ljava/util/Optional;
named child
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;child:Ljava/util/Optional;
-
-
Constructor Details
-
Conditions
public Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> parentPredicate, Optional<LootContextPredicate> partnerPredicate, Optional<LootContextPredicate> childPredicate) - Mappings:
Namespace Name Mixin selector official <init>
Law$a;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_196$class_198;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
-
-
Method Details
-
any
- Mappings:
Namespace Name Mixin selector official c
Law$a;c()Lam;
intermediary method_860
Lnet/minecraft/class_196$class_198;method_860()Lnet/minecraft/class_175;
named any
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;any()Lnet/minecraft/advancement/AdvancementCriterion;
-
create
public static AdvancementCriterion<BredAnimalsCriterion.Conditions> create(EntityPredicate.Builder child) - Mappings:
Namespace Name Mixin selector official a
Law$a;a(Lbq$a;)Lam;
intermediary method_861
Lnet/minecraft/class_196$class_198;method_861(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/AdvancementCriterion;
-
create
public static AdvancementCriterion<BredAnimalsCriterion.Conditions> create(Optional<EntityPredicate> parent, Optional<EntityPredicate> partner, Optional<EntityPredicate> child) - Mappings:
Namespace Name Mixin selector official a
Law$a;a(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)Lam;
intermediary method_29918
Lnet/minecraft/class_196$class_198;method_29918(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;create(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
public boolean matches(LootContext parentContext, LootContext partnerContext, @Nullable @Nullable LootContext childContext) - Mappings:
Namespace Name Mixin selector official a
Law$a;a(Lecq;Lecq;Lecq;)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
-
parentMatches
private static boolean parentMatches(Optional<LootContextPredicate> parent, LootContext parentContext) - Mappings:
Namespace Name Mixin selector official a
Law$a;a(Ljava/util/Optional;Lecq;)Z
intermediary method_53075
Lnet/minecraft/class_196$class_198;method_53075(Ljava/util/Optional;Lnet/minecraft/class_47;)Z
named parentMatches
Lnet/minecraft/advancement/criterion/BredAnimalsCriterion$Conditions;parentMatches(Ljava/util/Optional;Lnet/minecraft/loot/context/LootContext;)Z
-
toJson
public com.google.gson.JsonObject toJson()- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lap;a()Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807()Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson()Lcom/google/gson/JsonObject;
-