This datapack allows you to edit the effects of the smoking pipe. For an example, example usage looks like this:
"minecraft:glow_berries": {
"color": 16299065,
"infinite": false,
"effects": [
{
"type": "apply_effect",
"effect": "minecraft:glowing",
"duration": 160,
"amplifier": 0
},
{
"type": "apply_effect",
"effect": "minecraft:night_vision",
"duration": 120,
"amplifier": 0
},
{
"type": "smoking_speed",
"multiplier": 1.5
}
]
}
This block allows you to smoke glow berries to get nightvision and glowing effects. Smoking speed implies how fast the items are smoked.