Class BredAnimalsCriterion

All Implemented Interfaces:
Criterion<BredAnimalsCriterion.Conditions>

public class BredAnimalsCriterion extends AbstractCriterion<BredAnimalsCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/BredAnimalsCriterion
intermediary net/minecraft/class_196
official ax
  • Constructor Details

    • BredAnimalsCriterion

      public BredAnimalsCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<BredAnimalsCriterion.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 Laq;a()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, AnimalEntity parent, AnimalEntity partner, @Nullable @Nullable PassiveEntity child)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/BredAnimalsCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/passive/AnimalEntity;Lnet/minecraft/entity/passive/AnimalEntity;Lnet/minecraft/entity/passive/PassiveEntity;)V
      intermediary method_855 Lnet/minecraft/class_196;method_855(Lnet/minecraft/class_3222;Lnet/minecraft/class_1429;Lnet/minecraft/class_1429;Lnet/minecraft/class_1296;)V
      official a Lax;a(Laqv;Lcfe;Lcfe;Lbsl;)V