Class TameAnimalCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.TameAnimalCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
TameAnimalCriterion
- Mappings:
Namespace Name official dd$a
intermediary net/minecraft/class_2131$class_2133
named net/minecraft/advancement/criterion/TameAnimalCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> entity) -
Method Summary
Modifier and TypeMethodDescriptionany()
create
(EntityPredicate.Builder builder) boolean
matches
(LootContext entity) com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector official a
Ldd$a;a:Ljava/util/Optional;
intermediary field_9757
Lnet/minecraft/class_2131$class_2133;field_9757:Ljava/util/Optional;
named entity
Lnet/minecraft/advancement/criterion/TameAnimalCriterion$Conditions;entity:Ljava/util/Optional;
-
-
Constructor Details
-
Conditions
public Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> entity) - Mappings:
Namespace Name Mixin selector official <init>
Ldd$a;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_2131$class_2133;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/advancement/criterion/TameAnimalCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
-
-
Method Details
-
any
- Mappings:
Namespace Name Mixin selector official c
Ldd$a;c()Lam;
intermediary method_9138
Lnet/minecraft/class_2131$class_2133;method_9138()Lnet/minecraft/class_175;
named any
Lnet/minecraft/advancement/criterion/TameAnimalCriterion$Conditions;any()Lnet/minecraft/advancement/AdvancementCriterion;
-
create
public static AdvancementCriterion<TameAnimalCriterion.Conditions> create(EntityPredicate.Builder builder) - Mappings:
Namespace Name Mixin selector official a
Ldd$a;a(Lbq$a;)Lam;
intermediary method_16114
Lnet/minecraft/class_2131$class_2133;method_16114(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/TameAnimalCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Ldd$a;a(Lecq;)Z
intermediary method_9139
Lnet/minecraft/class_2131$class_2133;method_9139(Lnet/minecraft/class_47;)Z
named matches
Lnet/minecraft/advancement/criterion/TameAnimalCriterion$Conditions;matches(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;
-