#creating block and colorize one texture layer

1 messages · Page 1 of 1 (latest)

bright nebula
#

I suppose color(tintindex, color) the "tint-index" part refers to a layer, but how I can create layers automatically in the script?
.textureJson doesn't exist
Just trying to generate ore blocks where the stone layer is fixed and I can colorize just the ore color through simple hex code automatically

split flameBOT
#

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

cunning magnet
#

there's setModelJson(json) which you can use to assign a custom model to the Block, though sadly I don't know a way to use fabric to create a multi layer Block model, I only know one for forge

worn shell
#

I would advise making a custom model in block bench

#

Have a normal block but then put a slightly bigger cube around it

#

And then you can put the ore texture on that cube and as long as its only marginally bigger you shouldn't really be able to tell

#

If you can't do texture layers in fabric that is

#

This is a really janky workaround though and it's probably easier to just hardcode the textures

bright nebula
#

I wouldn't try anything silly. the only right way to do this is blend the textures as one, and do it in code

#

other solutions are not solutions

worn shell
#

As long as there's a transparent bit in the stone texture where the ore texture goes

#

Then you shouldn't be able to tell

worn shell