Uses of Record Class
net.minecraft.recipe.RawShapedRecipe.Data
-
Uses of RawShapedRecipe.Data in net.minecraft.recipe
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<RawShapedRecipe.Data> RawShapedRecipe.Data.CODEC
private final Optional
<RawShapedRecipe.Data> RawShapedRecipe.data
The field for thedata
record component.Modifier and TypeMethodDescriptionRawShapedRecipe.data()
Returns the value of thedata
record component.Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult
<RawShapedRecipe> RawShapedRecipe.fromData
(RawShapedRecipe.Data data) ModifierConstructorDescriptionRawShapedRecipe
(int int2, int int3, DefaultedList<Ingredient> defaultedList, Optional<RawShapedRecipe.Data> optional)