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 da$a
intermediary net/minecraft/class_2128$class_2130
named net/minecraft/advancement/criterion/SummonedEntityCriterion$Conditions
  • Field Details

    • entity

      private final EntityPredicate.Extended entity
      Mappings:
      Namespace Name Mixin selector
      official a Lda$a;a:Lbo$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

      public Conditions(EntityPredicate.Extended player, EntityPredicate.Extended entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lda$a;<init>(Lbo$b;Lbo$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 Lda$a;a(Lbo$a;)Lda$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

      public boolean matches(LootContext summonedEntityContext)
      Mappings:
      Namespace Name Mixin selector
      official a Lda$a;a(Ldrg;)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

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lan;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;