// priority: 1000
// Visit the wiki for more info - https://kubejs.com/
console.info('Hello, World! (Loaded fused_quartz_cryoglass.js)')


// fused_quartz_cryoglass
StartupEvents.registry('block', event => {
    event.create('fused_quartz_cryoglass')
        .displayName('Fused Quartz Cryoglass')
        .soundType('glass')
        .hardness(3.0)
        .resistance(4.0)
        .requiresTool(true)

        // make it render like stained-glass style translucency
        .renderType('translucent')   // <- key line :contentReference[oaicite:3]{index=3}

        // these help it behave like a non-opaque block
        .opaque(false)               // lets light through :contentReference[oaicite:4]{index=4}
        .transparent(true)           // tells MC it’s transparent :contentReference[oaicite:5]{index=5}
        .notSolid()                  // helps with “this isn’t a solid cube” rendering assumptions :contentReference[oaicite:6]{index=6}

        // optional but often helps prevent “treat as full opaque cube” optimizations
        .fullBlock(false)            // stops some full-block face/terrain optimizations :contentReference[oaicite:7]{index=7}
})


/*
startup_scripts block registry
assets/kubejs/blockstates/fused_quartz_cryoglass.json (point to block model)
assets/kubejs/models/block/custom_casings/fused_quartz_cryoglass.json (parent minecraft:block/cube_all + texture key)
assets/kubejs/models/item/fused_quartz_cryoglass.json (item uses block model)
assets/kubejs/textures/block/custom_casings/fused_quartz_cryoglass/{standard,ctm}.png/mcmeta
*/