Class RecipeCraftedCriterion

All Implemented Interfaces:
Criterion<RecipeCraftedCriterion.Conditions>

public class RecipeCraftedCriterion extends AbstractCriterion<RecipeCraftedCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/RecipeCraftedCriterion
intermediary net/minecraft/class_8508
official du
  • Constructor Details

    • RecipeCraftedCriterion

      public RecipeCraftedCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<RecipeCraftedCriterion.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, RegistryKey<Recipe<?>> recipeKey, List<ItemStack> ingredients)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/registry/RegistryKey;Ljava/util/List;)V
      intermediary method_51350 Lnet/minecraft/class_8508;method_51350(Lnet/minecraft/class_3222;Lnet/minecraft/class_5321;Ljava/util/List;)V
      official a Ldu;a(Lasi;Laly;Ljava/util/List;)V