I am trying to add blocks to expand the Create: Molten Metals mod using kubeJS in Fabric 1.20.1. I am having issues adding the molds with custom textures and models.
Here's the script:
StartupEvents.registry('block', event => { event.create('molten_adamantite_ingot_mold') .displayName('Molten Adamantite Ingot Mold') .hardness(0.0) .resistance(0.0) .fullBlock(false) .soundType('metal') .requiresTool(false) .model('kubejs:block/molten_adamantite_ingot_mold.json') })
I have the model json file under minecraft/kubejs/assets/kubejs/models/block and it still renders a full block with the purple and black checkerboard.
How do I get it to use the model json and the texture? The wiki defines both under the .model() function
.model(value: ID) Specify a custom model. The path must look like 'kubejs:block/texture_name' (which would be included under kubejs/assets/kubejs/models/block/texture_name.png). Defaults to 'kubejs:block/<block_name>'.
Thank you in advance.