Uses of Record Class
net.minecraft.world.item.crafting.ShapedRecipePattern.Data
Packages that use ShapedRecipePattern.Data
-
Uses of ShapedRecipePattern.Data in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting with type parameters of type ShapedRecipePattern.DataModifier and TypeFieldDescriptionprivate final Optional<ShapedRecipePattern.Data> ShapedRecipePattern.dataThe field for thedatarecord component.static final com.mojang.serialization.MapCodec<ShapedRecipePattern.Data> ShapedRecipePattern.Data.MAP_CODECMethods in net.minecraft.world.item.crafting that return types with arguments of type ShapedRecipePattern.DataModifier and TypeMethodDescriptionShapedRecipePattern.data()Returns the value of thedatarecord component.Methods in net.minecraft.world.item.crafting with parameters of type ShapedRecipePattern.DataModifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<ShapedRecipePattern> ShapedRecipePattern.unpack(ShapedRecipePattern.Data p_312037_) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type ShapedRecipePattern.DataModifierConstructorDescriptionShapedRecipePattern(int width, int height, NonNullList<Ingredient> ingredients, Optional<ShapedRecipePattern.Data> data) Creates an instance of aShapedRecipePatternrecord class.