Class TameAnimalCriterion

All Implemented Interfaces:
Criterion<TameAnimalCriterion.Conditions>

public class TameAnimalCriterion extends AbstractCriterion<TameAnimalCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/TameAnimalCriterion
intermediary net/minecraft/class_2131
official eh
  • Constructor Details

    • TameAnimalCriterion

      public TameAnimalCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<TameAnimalCriterion.Conditions> getConditionsCodec()
      Mappings:
      Namespace Name Mixin selector
      named getConditionsCodec Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
      intermediary method_54937 Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
      official a Lar;a()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, AnimalEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/TameAnimalCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/passive/AnimalEntity;)V
      intermediary method_9132 Lnet/minecraft/class_2131;method_9132(Lnet/minecraft/class_3222;Lnet/minecraft/class_1429;)V
      official a Leh;a(Lasi;Lchw;)V