Back to mods
Dataified Paintings project artwork

Modrinth · Minecraft mod

Dataified Paintings

(Superceded by "More-Canvases v2") Create data-driven paintings, in compliance with the vanilla variant system.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Dataified Paintings release should I use?

Updated 3 years ago
alpha file 0.1.0+1.20.0
Game version 1.20, 1.20.1
Loader Fabric

Dataified Paintings 0.1.0+1.20.0 targets 1.20, 1.20.1 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. 1 required mod needs a matching file.

Where it goes

Is Dataified Paintings required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Dataified Paintings 0.1.0+1.20.0 need?

0.1.0+1.20.0. Change the file and its required mods may change too.

1 required mod needs a matching file

Install Fabric API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

Fabric API Needed by Dataified Paintings 0.1.0+1.20.0
required
No matching file
Embedded Assets Optional for Dataified Paintings 0.1.0+1.20.0
optional
Matching file found Matched file: 1.1.3+1.20-fabric

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Dataified Paintings without breaking your instance.

Built for Dataified Paintings 0.1.0+1.20.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.1.0+1.20.0. It targets 1.20, 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.1.0+1.20.0. It opens that exact file at the source.

About this project

What does Dataified Paintings add?

Note of archival:
Although not datapack-driven, More Canvases v2 achieves similar results, and is infinitely easier to maintain. The "placeholder" feature has a more stable equivalent in No Kebab

Dataified Paintings

Vanilla compliant, datapack-driven custom paintings.

Unlike other data-driven mods, this one does not implement its own variant system, but fully re-use the vanilla one. This was made with the intent to be compatible with Invariable Paintings, but neither is required to work with the other.

Multiplayer is not supported at the moment.

Word of caution

The mod is sufficiently stable for long play sessions, but touches a lot of delicate mechanics. I'm releasing it as an Alpha until I'm confident I have ironed out all the fatal edge cases.

Most of the heavy lifting is done during datapack reloads. They happen when using the /reload command, but also when joining a world, or creating a new one. If something ever goes wrong, it will probably be at one of these moments.
Joining worlds should be safe enough, but manually reloading in an already loaded world is a lot more sensitive.

Features

Pack format

New variants are defined in separate json files, which simply contains a width and height properties, measured in block. The variant id is automatically derived from the file's basename and namespace.

{
	"width":  3,
	"height": 2
}

Variant files are located in /data/<namespace>/paintings/. Textures and title/author are provided the same way as for the vanilla paintings. Don't forget to add your paintings to the "placeable" tag, otherwise they will only be obtainable through commands.

In principle, textures and language files would need to be provided separately in a resource pack. But you can use Embedded Assets to merge the resource pack into the datapack.
(The official mod page has yet to port it to a compatible version of minecraft, but I have an up-to-date fork here on github, waiting to be merged.)

The combined pack structure would look something like this:

./
├─ pack.mcmeta
├─ assets
│ └─ <namespace>
│     ├─ lang
│     │  └─ en_us.json
│     └─ textures
│        └─ painting
│           ├─ <title1>.png
│           └─ <title2>.png
└─ data
   ├─ minecraft
   │  └─ tags
   │     └─ painting_variant
   │        └─ placeable.json
   └─ <namespace>
      └─ paintings
         ├─ <title1>.json
         └─ <title2>.json

Missing Variants

In vanilla minecraft, a painting bearing an unknown variant id is reversed to the "Kebab" variant.

With Dataified Paintings, a placeholder 1x1 variant will be created, and the paintings will never loose its variant id. This gives you the leisure to make mistakes while developping datapacks, so a broken one will not result in your already existing paintings to transformed.
This applies to both placed paintings, and painting items.

Be mindful however that increasing an existing variant's size may still result in already placed paintings to be dropped from their wall, should they no longer fit.

Project description from Modrinth.

Pick your setup

Dataified Paintings by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

3 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Dataified Paintings versions and loaders

2 of 2 releases match

Looking for an older file? The official Modrinth project page is in Resources.