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

      public void trigger(ServerPlayerEntity player, Identifier recipeId, List<ItemStack> ingredients)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/Identifier;Ljava/util/List;)V
      intermediary method_51350 Lnet/minecraft/class_8508;method_51350(Lnet/minecraft/class_3222;Lnet/minecraft/class_2960;Ljava/util/List;)V
      official a Lds;a(Laqv;Lakr;Ljava/util/List;)V