Hi there, looking for some quick help with what I think is a syntax issue I'm not smart enough to solve. I want to add some custom fluids in the startup-script, so far I have:
onEvent('fluid.registry', event =>
{
event.create('thick_fluid')
.displayName('molten copper')
.thickTexture(0xFF0000)
.bucketColor(0xFF0000)
event.create('thick_fluid')
.displayName('molten tin')
.thickTexture(0xFF0000)
.bucketColor(0xFF0000)
event.create('thick_fluid')
.displayName('molten bronze')
.thickTexture(0xFF0000)
.bucketColor(0xFF0000)
event.create('thick_fluid')
.displayName('molten silver')
.thickTexture(0xFF0000)
.bucketColor(0xFF0000)
event.create('thick_fluid')
.displayName('molten iron')
.thickTexture(0xFF0000)
.bucketColor(0xFF0000)
event.create('thick_fluid')
.displayName('molten gold')
.thickTexture(0xFF0000)
.bucketColor(0xFF0000)
event.create('thick_fluid')
.displayName('molten steel')
.thickTexture(0xFF0000)
.bucketColor(0xFF0000)
})
Using: https://wiki.latvian.dev/books/kubejs-legacy/page/custom-fluids
Though only the very first fluid actually gets created 🤔
Supported by Forge on all versions, and Fabric on 1.18.2+
// Startup script
onEvent('fluid.registr...
