createCoils.forEach(block => {
event.create(`kubejs_multiblock:machine_coil_${block.id}`)
.material('stone')
.hardness(7.5)
.tagBlock('forge:mineable/paxel')
.tagBlock('minecraft:mineable/pickaxe')
.tagBlock('minecraft:needs_stone_tool')
.item(item => {
item.color(1, block.color)
})
.color(1, block.color)
.defaultCutout()
.modelJson = {
parent: 'kubejs:block/block_coil',
textures: {
particle: 'kubejs:block/overlay/machine_coil',
all: 'kubejs:block/overlay/machine_coil',
side_overlay: 'kubejs:block/overlay/machine_coil_overlay'
}
}
})
This code correctly creates the block as I want BUT when created from what I understand it gains the attributes of glass I wanted the block to be a solid block like stone
I wanted to be able to use redstone on the block and it doesn't work as it takes the attributes of the glass
I wanted to know if there is a way to create the block with overlay and have it be a solid block like stone
i give model model i use and textures