net.minecraft.advancements.critereon

public record RecipeUnlockedTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

dw$a
net.minecraft.advancements.critereon.RecipeUnlockedTrigger$TriggerInstance
net.minecraft.class_2119$class_2121
net.minecraft.advancement.criterion.RecipeUnlockedCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerRecipeUnlocked$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final ResourceKey<Recipe<?>>
c
recipe
comp_2089
recipe
public static final com.mojang.serialization.Codec<RecipeUnlockedTrigger$TriggerInstance>
a
CODEC
field_47333
CODEC

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, ResourceKey<Recipe<?>> arg1)

Method summary

Modifier and TypeMethod
public boolean
a(dbk<?> arg0)
matches(RecipeHolder<?> arg0)
method_9112(class_8786<?> arg0)
matches(RecipeEntry<?> recipe)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public ResourceKey<Recipe<?>>
b()
recipe()
comp_2089()
recipe()