Class RecipeCraftedCriterion

All Implemented Interfaces:
Criterion<RecipeCraftedCriterion.Conditions>

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

    • RecipeCraftedCriterion

      public RecipeCraftedCriterion()
  • Method Details

    • getConditionsCodec

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

      public void trigger(ServerPlayerEntity player, Identifier recipeId, List<ItemStack> ingredients)
      Mappings:
      Namespace Name Mixin selector
      official a Lcs;a(Lane;Lahg;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
      named trigger Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/Identifier;Ljava/util/List;)V