Class CuredZombieVillagerCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.CuredZombieVillagerCriterion.Conditions
All Implemented Interfaces:
CriterionConditions
Enclosing class:
CuredZombieVillagerCriterion

public static class CuredZombieVillagerCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official ay$a
intermediary net/minecraft/class_2014$class_2016
named net/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions
  • Field Details

    • zombie

      private final EntityPredicate.Extended zombie
      Mappings:
      Namespace Name Mixin selector
      official a Lay$a;a:Lbl$b;
      intermediary field_9518 Lnet/minecraft/class_2014$class_2016;field_9518:Lnet/minecraft/class_2048$class_5258;
      named zombie Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;zombie:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
    • villager

      private final EntityPredicate.Extended villager
      Mappings:
      Namespace Name Mixin selector
      official b Lay$a;b:Lbl$b;
      intermediary field_9519 Lnet/minecraft/class_2014$class_2016;field_9519:Lnet/minecraft/class_2048$class_5258;
      named villager Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;villager:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
  • Constructor Details

    • Conditions

      public Conditions(EntityPredicate.Extended player, EntityPredicate.Extended zombie, EntityPredicate.Extended villager)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lay$a;<init>(Lbl$b;Lbl$b;Lbl$b;)V
      intermediary <init> Lnet/minecraft/class_2014$class_2016;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;)V
      named <init> Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
  • Method Details

    • any

      Mappings:
      Namespace Name Mixin selector
      official c Lay$a;c()Lay$a;
      intermediary method_8836 Lnet/minecraft/class_2014$class_2016;method_8836()Lnet/minecraft/class_2014$class_2016;
      named any Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;any()Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;
    • matches

      public boolean matches(LootContext zombieContext, LootContext villagerContext)
      Mappings:
      Namespace Name Mixin selector
      official a Lay$a;a(Ldvr;Ldvr;)Z
      intermediary method_8837 Lnet/minecraft/class_2014$class_2016;method_8837(Lnet/minecraft/class_47;Lnet/minecraft/class_47;)Z
      named matches Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;matches(Lnet/minecraft/loot/context/LootContext;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 Lak;a(Lcq;)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;