Skip to content

Custom Corrosive Flammable Fluids

Anderzz edited this page Jun 13, 2026 · 1 revision

Custom Fluids

If you would like to throw items into a fluid that is from any other mod and need it to be protected and not destroyed. Here you can add custom liquids/acids or anything that will naturally destroy the item.

DataPack

path: data/worldtransformations/tags/fluid/fireproofing.json

This is an example. Lava transformations are already protected.

{
  "replace": false,
  "values": [
    "minecraft:lava",
    "minecraft:flowing_lava"
  ]
}

KubeJS

Path: kubejs/server_scripts/world_transformations_tags.js

ServerEvents.tags('fluid', event => {
    event.add('worldtransformations:fireproofing', [
        'minecraft:lava',
        'minecraft:flowing_lava'
    ])
})

Clone this wiki locally