This mod is WIP because there's stuff I want to add, but it's playable and tested from Minetest version 0.4.17.1 (which lacks fence rails) to the latest version. It adds a fence/rail/gate for each default dye, but following the Hand Painted Pack dyes, so pink is sugar pink and not a flesh tint. The idea: making mob fences and fence tops without needing default ("apple tree") wood, which can be unavailable in, for instance, Ethereal's mushroom and bamboo biomes. Or combining different wood types into a uniform fence.
I still haven't come to grips with git and it seems like overkill for one small mod, so the zip is downloadable from http://www.simania.nl/download/painted_fences.zip.
Quoting from the README.md (which also lists the recipes):
Painted Fences
==============
Information
Based on the fence parts of Mobs Redo; created when I needed to make mob fences,
but the biome had no default wood. Mob fences need default wood because they use
that wood's texture; painted fences look the same no matter what wood type they
are made with, and can be converted to mob fences and back. Painted mob fences
have inventory images with upward arrowheads over the fenceposts, to indicate
that their collision boxes are higher.
Painted fences, rails, gates, mob fences and mob fence tops are crafted from any
wood type, or the white mushroom stalk from Ethereal NG, using the usual recipe
plus a dye. Most painted fence items can only be created; mob fences and tops
can be "painted" by combining then with a dye. A single painted fence in the
crafting grid produces a painted mob fence, and vice versa.
Painted fence items can be repainted by combining the item with a dye. The
recipe uses groups, so it is possible to paint an item the same colour it
already was. Repainting is wasteful on dyes, as crafting a painted item uses one
dye for the whole batch, while repainting uses one unit of dye per item.
This mod was tested in Minetest versions 0.4.17.1, 5.3.0 and 5.8.0. For backward
compatibility, fences and rails are registered with a dummy recipe material,
after which the dummy recipe is cleared and the real recipe added; these dummy
recipes may show up in (old versions of) inventory/crafting mods.
Included are 16x16 and 128x128 (to be used with the Hand Painted Pack by
Drummyfish) tiles; they are are supposed to show a "brush strokes" surface, but
this is only really visible in the 128x128 tiles.
Also included: French and German translation files, cobbled together from
default and mobs translations.
TODO:
- Make compatible with Better Fences (`better_fences`)
- Repaint fence nodes by punching them with dye? (swapping nodes crashes for me)
- Painted mese light posts? (5.4.0 and up)
--------------
Technical info
Compatibility
Needed for fences and painting:
* default
* dye
Made to work with:
* doors - adds painted gates
* Mobs Redo (`mobs`) - the reason for this mod: adds painted mob fences/tops
* Wider Gates (`gates_long`) - adds wide painted gates
* Ethereal NG (`ethereal`) - makes painted fences from giant mushroom stalks
* Cropocalypse (`cropocalypse`) - adds light blue dye