Custom totems - AmthystXx/Geode GitHub Wiki
Blockcore allows you to create totems that when used, can run any function you want, and they're extremely easy to make.
Example recipe
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:barrier"
}
],
"result": {
"id": "minecraft:totem_of_undying",
"components": {
"minecraft:custom_data": {
"geode":"custom_totem",
"totem_id":"[Path (namespace:path/function) to function that should be run when the totem is used]"
}
}
}
}