Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Invariable Paintings

Overview

Turns each painting variant into its own item. When a painting is broken, it will drop the variant-locked item instead of the blank one.
Blank paintings can still be obtained, but can no longer be placed in survival.

No new item type was added to the game, variant-locked items are the same as the ones available in the vanilla creative menu.

Dependencies and Environment

Core functionalities are fully server-side. Patched is needed in order to add items to loot tables, but is otherwise optional.

Client-side is recommended, but technically optional, containing only cosmetic changes.

Obtaining paintings

Trading

Filled paintings can be bought from Master Shepherds and Wandering Traders. Shepherds no longer sell variantless paintings, but will now require one to work with.

The elemental paintings are exclusive to the Wandering Trader, and few haphazardly chosen others are exclusive to the villagers. Modded paintings will be available to both by default.

Looting

This feature requires Patched.

Filled paintings can be found inside of many naturally generated chests, suspicious soils, and while fishing.

Certain paintings are exclusive to some location; most notably, the Wither painting can only be found in the nether. Other paintings were spread about more haphazardly. Modded paintings will be available in most locations by default.

The loot tables are provided as a built-in datapack which can be disabled. Without the datapack, all exclusive paintings will instead be available via trading.

Crafting (experimental)

Experimental crafting recipes were removed from the core mod as of v2.0. They have been re-published as an addon instead.

Inventory Icons

Painting items can have unique textures depending on their variant.

This mod provides the icons for vanilla paintings, but it does not generate icons for modded paintings. Those can be added using a resource pack.

Custom icons will be searched for at /textures/<namespace>/item/painting/<variant>.png, based on the painting variant's ID. Variants that lack a custom icon will fall back to a generic built-in one.

Miscellaneous changes

Server-side

  • Adds a new loot function invarpaint:lock_variant_randomly.
  • Placement of variant-locked paintings in tight spaces is more forgiving. (Vanilla would require targeting one specific block.)
  • Shows a warning when trying to place a painting in a space that is too small.
  • Fixes a vanilla bug whereby painting items may appear to be consumed, without actually placing the painting.

Client-side

  • Creative players can pick a painting's variant by holding Ctrl.
  • Slightly reworked the tooltip for painting items.

Compatibility

Any mod that adds new paintings based on the vanilla system will be compatible, and their paintings will be obtainable through all existing means.

Mods that implement their own variant system are not compatible. Amongst user-defined painting mods, More Canvases was made to be compatible with Invariable Paintings.

Related mods

Collector's Stockbook

Keep your painting collection neatly packed inside a single stack.

No Kebab

Prevents accidentally uninstalled custom paintings from being removed from the world.

More Canvases

Lets you register new painting variants using just a config file and a texture pack.


Project members

Estecka

Owner


Technical information

License
AGPL-3.0-only
Client side
unsupported
Server side
required
Project ID