类 ConditionalRecipe
java.lang.Object
net.minecraftforge.common.crafting.ConditionalRecipe
So, A 'ConditionalRecipe' differs from all normal recipes in the fact that in addition to the conditions
disabling the entire recipe, it has sub-recipes that themselves have conditions.
And when being deserialized it returns the first entry that passes the conditional check.
This basically means that you can have multiple variants all use the same recipe name, and
only one will ever be loaded.
This also means that you can wrap ALL recipes in a Conditional even those that don't explicitly
have support for them in their data gen.
-
嵌套类概要
嵌套类修饰符和类型类说明static class
private static final class
private static final record
private static final record
private static class
-
字段概要
字段修饰符和类型字段说明private static final com.mojang.serialization.MapCodec
<Recipe<?>> static final RecipeSerializer
<Recipe<?>> -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
CODEC
-
SERIALZIER
-
-
构造器详细资料
-
ConditionalRecipe
public ConditionalRecipe()
-
-
方法详细资料
-
builder
-