Class SummonedEntityCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.SummonedEntityCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
SummonedEntityCriterion
- Mappings:
Namespace Name official db$a
intermediary net/minecraft/class_2128$class_2130
named net/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> entity) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(EntityPredicate.Builder summonedEntityPredicateBuilder) boolean
matches
(LootContext entity) toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector official a
Ldb$a;a:Ljava/util/Optional;
intermediary field_9752
Lnet/minecraft/class_2128$class_2130;field_9752:Ljava/util/Optional;
named entity
Lnet/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions;entity:Ljava/util/Optional;
-
-
Constructor Details
-
Conditions
public Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> entity) - Mappings:
Namespace Name Mixin selector official <init>
Ldb$a;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_2128$class_2130;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
-
-
Method Details
-
create
public static AdvancementCriterion<SummonedEntityCriterion.Conditions> create(EntityPredicate.Builder summonedEntityPredicateBuilder) - Mappings:
Namespace Name Mixin selector official a
Ldb$a;a(Lbq$a;)Lam;
intermediary method_9129
Lnet/minecraft/class_2128$class_2130;method_9129(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Ldb$a;a(Lecq;)Z
intermediary method_9130
Lnet/minecraft/class_2128$class_2130;method_9130(Lnet/minecraft/class_47;)Z
named matches
Lnet/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions;matches(Lnet/minecraft/loot/context/LootContext;)Z
-
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;
-