#apply custom model to machine

5 messages · Page 1 of 1 (latest)

solar wraith
#

Hey there
I am trying to apply a custom texture to my singleblock machine
I have the texture files, and a model.json, but I am kinda stuck at how to make the machine actually take the model
This is the code as of now, still haven't figured out how to not overlay either

    event.create('advanced_composter', 'simple')
        .tiers(GTValues.ULV)
        .definition((tier, builder) => {
            return builder
                .recipeType('composting')
                .workableCasingRenderer('kubejs:block/overwrites/composter/composter_side', 'gtceu:block/machines/item_collector', false);
        }
    );```
#

when looking through KubeJS, normally you would replace a texture by copying its path in the assets folder, but I have no idea what path this uses

solar wraith
#

I figured this out, you can put your textures inside the kubejs/assets/gtceu/textures/block/..../ folder

#

then name the textures overlay_front, overlay_side, overlay_back, overlay_bottom, overlay_top and call upon them like you do in with the item collector in the code above

#

in my example the path would be kubejs:assets/gtceu/textures/block/machines/advanced_composter/<put files here>