I would like to make a custom painting in Minecraft, and from what I've seen others do, the best way to do this is to replace one of the existing painting images with your own. However, I'm wondering if it's possible to add a new painting instead of replacing one? I'd like to do this so it's easier to customize.
I've already made a new type of painting, with a new size, and I have an image of the same size I would like to use. The painting shows up in the game, but without the image. I have the image in assets/screen/textures/picture ("screen" being my namespace and "picture" being the name of the image). I'm not entirely sure how to link up my new painting type with my image. I've experimented with a .json file, but I'm pretty new to this kind of thing and I don't really know what to put in it, or even if it's what I need to do to get this to work.
Not really sure if this will help, but here is what I did to make the new painting type:
public static final RegistryObject<PaintingType> PICTURE = PAINTING_TYPES.register("picture", () -> new PaintingType(320, 176));
Is this the best way to do what I'm trying to do? And if so, do you know what to do or any resources that might help?