#how can i make blocks and items with colors?

25 messages · Page 1 of 1 (latest)

sturdy jasper
#

for example I want to create plates of iron, gold, copper, tin ... and instead of making a texture for each one I used a template and set the color

fresh solarBOT
#

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

heavy cliff
#

.color(index, colorHex)

#

so you want .color(0, 0xFFFFFF) if you want to tint it white

sturdy jasper
#

[15:08:37] [ERR ] Error occurred while handling event 'block.registry': TypeError: Cannot find function harvestTool in object dev.latvian.mods.kubejs.block.custom.BasicBlockJS$Builder@57524d9a. (startup_scripts:blocks.js#16)

give that error

heavy cliff
#

what is harvest tool

#

tag it with minable/pickaxe

#

and need_iron_tool

#

or stone

#

or wooden

#

or diamond

sturdy jasper
#

thank you, I'll change that later
but the error continues

heavy cliff
#

what error

#

harvestTool error

#

that wdoesnt work on 1.18

#

i already said that you need to tag it with that

sturdy jasper
#

with the color live 16

#

.color or .textureAll

heavy cliff
#

what

sturdy jasper
#

Error occurred while handling event 'block.registry': TypeError: Cannot find function harvestTool in object dev.latvian.mods.kubejs.block.custom.BasicBlockJS$Builder@57524d9a. (startup_scripts:blocks.js#16)

#

click on the first image

heavy cliff
#

ok im gonna ignore you cuz you dont listen

heavy cliff
sturdy jasper
#

really hasvestTool not work? harvestTool
I really didn't know that, but I never liked tagging items, sorry