Class CuredZombieVillagerCriterion

All Implemented Interfaces:
Criterion<CuredZombieVillagerCriterion.Conditions>

public class CuredZombieVillagerCriterion extends AbstractCriterion<CuredZombieVillagerCriterion.Conditions>
Mappings:
Namespace Name
official bb
intermediary net/minecraft/class_2014
named net/minecraft/advancement/criterion/CuredZombieVillagerCriterion
  • Field Details

    • ID

      static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Lbb;a:Lacq;
      intermediary field_9514 Lnet/minecraft/class_2014;field_9514:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • CuredZombieVillagerCriterion

      public CuredZombieVillagerCriterion()
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lal;a()Lacq;
      intermediary method_794 Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
    • conditionsFromJson

      public CuredZombieVillagerCriterion.Conditions conditionsFromJson(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<CuredZombieVillagerCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lbb;a(Lcom/google/gson/JsonObject;Lba;Lbe;)Lbb$a;
      intermediary method_8830 Lnet/minecraft/class_2014;method_8830(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2014$class_2016;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion$Conditions;
    • trigger

      public void trigger(ServerPlayerEntity player, ZombieEntity zombie, VillagerEntity villager)
      Mappings:
      Namespace Name Mixin selector
      official a Lbb;a(Laig;Lbwv;Lbyb;)V
      intermediary method_8831 Lnet/minecraft/class_2014;method_8831(Lnet/minecraft/class_3222;Lnet/minecraft/class_1642;Lnet/minecraft/class_1646;)V
      named trigger Lnet/minecraft/advancement/criterion/CuredZombieVillagerCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/mob/ZombieEntity;Lnet/minecraft/entity/passive/VillagerEntity;)V