Class SummonedEntityCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.SummonedEntityCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- SummonedEntityCriterion
public static class SummonedEntityCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official cn$a
intermediary net/minecraft/class_2128$class_2130
named net/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private EntityPredicate.Extended
entity
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, EntityPredicate.Extended entity)
-
Method Summary
Modifier and Type Method Description static SummonedEntityCriterion.Conditions
create(EntityPredicate.Builder summonedEntityPredicateBuilder)
boolean
matches(LootContext summonedEntityContext)
JsonObject
toJson(AdvancementEntityPredicateSerializer predicateSerializer)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector official a
Lcn$a;a:Lbg$b;
intermediary field_9752
Lnet/minecraft/class_2128$class_2130;field_9752:Lnet/minecraft/class_2048$class_5258;
named entity
Lnet/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions;entity:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
-
-
Constructor Details
-
Conditions
- Mappings:
Namespace Name Mixin selector official <init>
Lcn$a;<init>(Lbg$b;Lbg$b;)V
intermediary <init>
Lnet/minecraft/class_2128$class_2130;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;)V
named <init>
Lnet/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
-
-
Method Details
-
create
public static SummonedEntityCriterion.Conditions create(EntityPredicate.Builder summonedEntityPredicateBuilder)- Mappings:
Namespace Name Mixin selector official a
Lcn$a;a(Lbg$a;)Lcn$a;
intermediary method_9129
Lnet/minecraft/class_2128$class_2130;method_9129(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_2128$class_2130;
named create
Lnet/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lcn$a;a(Ldei;)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
Lag;a(Lci;)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;
-