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 bb$a
intermediary net/minecraft/class_2014$class_2016
named net/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions
  • Field Details

    • zombie

      private final LootContextPredicate zombie
      Mappings:
      Namespace Name Mixin selector
      official a Lbb$a;a:Lba;
      intermediary field_9518 Lnet/minecraft/class_2014$class_2016;field_9518:Lnet/minecraft/class_5258;
      named zombie Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;zombie:Lnet/minecraft/predicate/entity/LootContextPredicate;
    • villager

      private final LootContextPredicate villager
      Mappings:
      Namespace Name Mixin selector
      official b Lbb$a;b:Lba;
      intermediary field_9519 Lnet/minecraft/class_2014$class_2016;field_9519:Lnet/minecraft/class_5258;
      named villager Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;villager:Lnet/minecraft/predicate/entity/LootContextPredicate;
  • Constructor Details

    • Conditions

      public Conditions(LootContextPredicate player, LootContextPredicate zombie, LootContextPredicate villager)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbb$a;<init>(Lba;Lba;Lba;)V
      intermediary <init> Lnet/minecraft/class_2014$class_2016;<init>(Lnet/minecraft/class_5258;Lnet/minecraft/class_5258;Lnet/minecraft/class_5258;)V
      named <init> Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/entity/LootContextPredicate;)V
  • Method Details

    • any

      Mappings:
      Namespace Name Mixin selector
      official c Lbb$a;c()Lbb$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 Lbb$a;a(Ldzc;Ldzc;)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 Lam;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;