Class RecipeUnlockedCriterion

All Implemented Interfaces:
Criterion<RecipeUnlockedCriterion.Conditions>

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

    • RecipeUnlockedCriterion

      public RecipeUnlockedCriterion()
  • Method Details

    • getConditionsCodec

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

      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/advancement/criterion/RecipeUnlockedCriterion;create(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/advancement/AdvancementCriterion;
      intermediary method_27847 Lnet/minecraft/class_2119;method_27847(Lnet/minecraft/class_5321;)Lnet/minecraft/class_175;
      official a Ldv;a(Laly;)Lap;