Class CuredZombieVillagerCriterion.Conditions

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

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

    • zombie

      private final Optional<LootContextPredicate> zombie
      Mappings:
      Namespace Name Mixin selector
      official a Lbd$a;a:Ljava/util/Optional;
      intermediary field_9518 Lnet/minecraft/class_2014$class_2016;field_9518:Ljava/util/Optional;
      named zombie Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;zombie:Ljava/util/Optional;
    • villager

      private final Optional<LootContextPredicate> villager
      Mappings:
      Namespace Name Mixin selector
      official b Lbd$a;b:Ljava/util/Optional;
      intermediary field_9519 Lnet/minecraft/class_2014$class_2016;field_9519:Ljava/util/Optional;
      named villager Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;villager:Ljava/util/Optional;
  • Constructor Details

    • Conditions

      public Conditions(Optional<LootContextPredicate> playerPredicate, Optional<LootContextPredicate> zombie, Optional<LootContextPredicate> villager)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbd$a;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_2014$class_2016;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
      named <init> Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
  • Method Details

    • any

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

      public boolean matches(LootContext zombie, LootContext villager)
      Mappings:
      Namespace Name Mixin selector
      official a Lbd$a;a(Lecq;Lecq;)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 com.google.gson.JsonObject toJson()
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      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;