Class RecipeUnlockedCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<RecipeUnlockedCriterion.Conditions>
net.minecraft.advancement.criterion.RecipeUnlockedCriterion
- All Implemented Interfaces:
Criterion<RecipeUnlockedCriterion.Conditions>
- Mappings:
Namespace Name named net/minecraft/advancement/criterion/RecipeUnlockedCriterion
intermediary net/minecraft/class_2119
official dv
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(RegistryKey<Recipe<?>> registryKey) com.mojang.serialization.Codec
<RecipeUnlockedCriterion.Conditions> void
trigger
(ServerPlayerEntity player, RecipeEntry<?> recipe) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
RecipeUnlockedCriterion
public RecipeUnlockedCriterion()
-
-
Method Details
-
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
- 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
public static AdvancementCriterion<RecipeUnlockedCriterion.Conditions> create(RegistryKey<Recipe<?>> registryKey) - 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;
-