COWMODSКаталог модов

Client side painting variants

Add custom painting variants without overwriting existing paintings by using resource packs

Автор: secret_online6,1 тыс.23обновлён 4 окт. 2025 г.
Декор

Описание

Client side painting variants

Use resource packs to add new types of painting without removing any existing paintings, entirely on the client side!

Title and logo on top of a field of paintings. Some paintings are the default paintings, but others are custom.

This mod requires Fabric API, so make sure it's installed with this mod.

Wait, how is this different from 1.21's painting variants?

Minecraft 1.21 adds painting variants that rely on data packs to specify new variants. Unfortunately this means that these paintings must be defined per world, or set up by the server's admin. What this mod does is extend that idea further, allowing resource packs to define more painting variants for any players using the mod on their clients. Clients without the mod just see the regular paintings.

This does lead to the one limitation of this mod: it can't add new sizes of paintings, just add more variants to existing sizes (whether they're defined by Minecraft or a data pack).

How does this work on multiplayer?

  • Players without the mod will see the original paintings as sent by the server.
  • Players with the mod will see custom paintings in addition to the original paintings.
    • If two players with the mod installed have the same resource packs installed, then they will see the same paintings.
    • This mod will never override a vanilla painting with another vanilla painting, so if you see a vanilla painting then players without the mod will see that same painting.

Comparison of viewing the same paintings from an unmodded and modded client. Custom paintings are only visible on the modded client, but show up as normal paintings on the unmodded client.

For resource/data pack developers

Players with this mod installed can have your paintings added into the pool of available paintings wherever they go with your resource pack, and not just on servers with the data pack. Since this mod doesn't remove any of Minecraft's default paintings, it's a nice non-destructive way to have your artwork integrated into the game.

There are only two requirements for this mod to work.

  1. Ensure your painting textures are in your resource pack's assets/<namespace>/textures/painting/ folder (where the game's default paintings are, so hopefully this is where you've put your painting textures too).
  2. Add the painting variant JSON files to your resource pack's assets/<namespace>/painting_variant/ (note: no trailing s) folder.
    • These are the same format as adding painting variants in a data pack.
      • width: Width of the painting in blocks. Must be in the range of 1-16.
      • height: Height of the painting in blocks. Must be in the range of 1-16.
      • asset_id: Identifier of the texture in the paintings atlas. <namespace>/<filename-without-ext>
    • Ref: 24w18a changelog.
Example resource pack structure
resourcepack.zip
├─pack.mcmeta
├─pack.png
└─assets/
  └─<namespace>/
    ├─painting_variant/
    │ ├─<id1>.json
    │ └─<id2>.json
    └ textures/
      └─painting/
        ├─<id1>.png
        └─<id2>.png

This as similar as possible to 1.21's painting variant system, which is driven by data packs. This mod takes the two folders from the two different types of pack and puts them together.

Equivalent data and resource pack in Vanilla
datapack.zip
├─pack.mcmeta
└─data/
  └─<namespace>/
    └─painting_variant/
      ├─<id1>.json
      └─<id2>.json

resourcepack.zip
├─pack.mcmeta
├─pack.png
└─assets/
  └─<namespace>/
    └ textures/
      └─painting/
        ├─<id1>.png
        └─<id2>.png

I'd love to make this a no-effort thing for pack developers (which would also have the benefit of working out-of-the-box), but unfortunately the resource/data pack split makes the ideal version of this project impossible. Instead, I think this is the next best thing. I hope that it's a small thing you can just do without having to think about it too much.

License

This mod is licensed under the Mozilla Public License 2.0. You may use this mod in your mod packs. Source code is included in a separate sources.jar file alongside every release.

Галерея

Client side painting variantsAdd paintings without removing existing onesVanilla and modded clients in the same world

Последние версии

Все версии →
release

Client side painting variants v1.1.5+1.21.9

v1.1.5+1.21.9
4 окт. 2025 г.696Minecraft: 1.21.9, 1.21.10fabric
Скачать
Что нового
Minecraft 1.21.9 ### Updated - Updated to Minecraft 1.21.9
release

Client side painting variants v1.1.4 for 1.21.5+

v1.1.4
25 мар. 2025 г.2,1 тыс.Minecraft: 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8fabric
Скачать
Что нового
### Updated - Updated to Minecraft 1.21.5
release

Client side painting variants v1.1.3 for 1.21.3

v1.1.3
20 дек. 2024 г.701Minecraft: 1.21.3, 1.21.4fabric
Скачать
Что нового
Minecraft 1.21.3 ### Updated - Updated to Minecraft 1.21.3 - This release is otherwise identical to v1.1.2
release

Client side painting variants v1.1.2 for 1.21.1

v1.1.2
9 авг. 2024 г.862Minecraft: 1.21.1fabric
Скачать
Что нового
Minecraft 1.21.1 ### Updated - Updated to Minecraft 1.21.1 - This release is otherwise identical to v1.1.1
release

Client side painting variants v1.1.1 for 1.21

v1.1.1
24 июн. 2024 г.799Minecraft: 1.21fabric
Скачать
Что нового
Minecraft 1.21 ### Fixed - Fix painting variants not updating when servers reloaded resource packs containing painting variants.
release

Client side painting variants v1.1.0 for 1.21

v1.1.0
13 июн. 2024 г.282Minecraft: 1.21fabric
Скачать
Что нового
### Updated - Updated to Minecraft 1.21
release

Client side painting variants v1.0.1

v1.0.1
27 мая 2024 г.417Minecraft: 1.20.5, 1.20.6fabric
Скачать
Что нового
Minecraft 1.20.5 & 1.20.6 ### Added - Test resource pack included with the mod. - For now it only contains a 2x2 painting, but I may add other sizes later. - Support for both 1.20.5 and 1.20.6 - Behind the scenes I'm working on dealing with Minecraft updates automatically. This release is a test of part of that process. ### Fixed - Incorrect key for access widener in `fabric.mod.json`
release

Client side painting variants v1.0.0 for Minecraft 1.20.6

v1.0.0
9 мая 2024 г.252Minecraft: 1.20.6fabric
Скачать
Что нового
Minecraft 1.20.6 ### Added - Initial release! - Override painting front textures based on entity's UUID. - Change of replacement is dependent on how many painting variants there are. - The end result is that every variant (real or added) should be equally likely.