Class RecipeUnlockedCriterion

All Implemented Interfaces:
Criterion<RecipeUnlockedCriterion.Conditions>

public class RecipeUnlockedCriterion extends AbstractCriterion<RecipeUnlockedCriterion.Conditions>
Mappings:
Namespace Name
official ct
intermediary net/minecraft/class_2119
named net/minecraft/advancement/criterion/RecipeUnlockedCriterion
  • Constructor Details

    • RecipeUnlockedCriterion

      public RecipeUnlockedCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<RecipeUnlockedCriterion.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, RecipeEntry<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      official a Lct;a(Lane;Lcqe;)V
      intermediary method_9107 Lnet/minecraft/class_2119;method_9107(Lnet/minecraft/class_3222;Lnet/minecraft/class_8786;)V
      named trigger Lnet/minecraft/advancement/criterion/RecipeUnlockedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/recipe/RecipeEntry;)V
    • create

      Mappings:
      Namespace Name Mixin selector
      official a Lct;a(Lahg;)Lan;
      intermediary method_27847 Lnet/minecraft/class_2119;method_27847(Lnet/minecraft/class_2960;)Lnet/minecraft/class_175;
      named create Lnet/minecraft/advancement/criterion/RecipeUnlockedCriterion;create(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementCriterion;