#Customize fluid

8 messages · Page 1 of 1 (latest)

true burrow
#

I try to customize the fluid.But it failed. I would like to know if the syntax is correct.
This is placed in server_scripts

ServerEvents.recipes(event => {
    event.create('thick_fluid')
    .thickTexture(0xFF0000)
    .bucketColor(0xFF0000)
    .displayName('Thick Fluid')
})```
mossy zodiacBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

velvet geyserBOT
#

You can find your KubeJS startup log in /minecraft/logs/kubejs/startup.log.
If you are on 1.18 or below it will be called startup.txt.
Please send it if asked, as it contains helpful information.

lethal relic
#

send your logs over :P

true burrow
#

Haha I found the error, it’s a problem with other recipes

true burrow
#

The problem of loading failure has been solved. This is the example on the wiki, but I can't find the fluid in the game.

ServerEvents.recipes(event => {
    event.create('thick_fluid')
    .thinTexture(0xFF0000)
    .bucketColor(0x00FFFF)
    .displayName('Thin Fluid')
      .noBucket() // both these methods are 1.18.2+ only
      .noBlock() 
})```