This tutorial will show you how to make Arts & Crafts paintbrushes work on other blocks added from other mods.
This page is for developers only!
Paintbrushes use a datapack registry to implement painting different blocks, this keeps painting blocks configurable while allowing mods to add compat!
First step:
In your datapack, create a directory named arts_and_crafts and then inside that directory, create another directory called paintbrush_palette.
Then create a json file in the paintbrush palette directory.
Json file can be named anything but its best if its just named after the block you want to paint!
If you did everything right It should look like this:
In your Json file, you should create something like this, but instead of twigs:white_packed_silt it should be the white variant of your block!
"blocks" at the start of the file takes in a block tag
What my silt pots block tag looks like :
If you get stuck or have any problems feel free to join my Discord Server for help!
You could also check out the Arts & Crafts Compat Github Repository to see how I add compat for other mods! All of the images provided is code from that mod!