#my script isnt working, why?

5 messages · Page 1 of 1 (latest)

dusk onyx
#

i tried 2 versions but same error
if i remove one of the liquids then the next one has the same error
"StartupEvents.registry('fluid', event => {
event.create('liquid_naphtha', 'thin')
.bucketColor(0xc4ad2b)
.displayName('Liquid Naphtha', 'thin')
event.create('liquid_ethylene', 'thin')
.bucketColor(0xE8E8FF)
.displayName('Ethylene')
.gaseous()
event.create('liquid_glue', 'thin')
.bucketColor(0xE1FEFFE5)
.displayName('Glue')
})" this variation gives bucket color error
this variation gives thin texture error
"StartupEvents.registry('fluid', event => {
event.create('liquid_naphtha')
.thinTexture(0xc4ad2b)
.bucketColor(0xc4ad2b)
.displayName('Liquid Naphtha')
event.create('liquid_ethylene')
.thinTexture(0xE8E8FF)
.bucketColor(0xE8E8FF)
.displayName('Ethylene')
.gaseous()
event.create('liquid_glue')
.thinTexture(0xE1FEFFE5)
.bucketColor(0xE1FEFFE5)
.displayName('Glue')
})"

static nightBOT
#

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

dusk onyx
#

nvm fixed it

dusk onyx
#

had to be like this
event.create('liquid_naphtha')
.displayName('Liquid Naphtha')
.stillTexture('kubejs:block/naptha_still')
.flowingTexture('kubejs:block/naptha_flow')
.tint(0xc4ad2b)
.translucent()