This is an addon for the mod Blood Magic
A feature overview can be seen on the curseforge link
Here's an example CraftTweaker script for modifying altar components
import crafttweaker.block.IBlockState;
import mods.animus.AnimusPlugin;
print("-------------------------modify altar ----------------------------");
AnimusPlugin.removeComponentMapping(<blockstate:minecraft:glowstone>,"GLOWSTONE");
AnimusPlugin.addComponentMapping(<blockstate:minecraft:dirt>, "GLOWSTONE");
Excerpt from BloodMagic API:
Valid component types:
GLOWSTONE
BLOODSTONE
BEACON
BLOODRUNE
CRYSTAL
NOTAIR