Skip to main content

Custom Fluids

Fabric not supported yet!

onEvent('fluid.registry', event => {
  // Basic "thick" (looks like lava) fluid with red tint
  event.create('thick_fluid').textureThick(0xFF0000).bucketColor(0xFF0000).displayName('Thick Fluid')
  // Basic "thin" (looks like water) fluid with cyan tint
  event.create('thin_fluid').textureThin(0x00FFFF).bucketColor(0x00FFFF).displayName('Thin Fluid')
  // Fluid with custom textures
  event.create('strawberry_cream').displayName('Strawberry Cream').textureStill('kubejs:block/strawberry_still').textureFlowing('kubejs:block/strawberry_flow').bucketColor(0xFF33FF)
})