GTM World Layers - World Layer Package for Mod Dimensions
This specialized addon creates system layers for various dimensions from third-party modifications within the GregTech ecosystem, specifically designed for use with the KubeJS scripting system in custom modpacks.
If resource processing conflicts between different mods are discovered during integration, the developer encourages the community to contribute additional layers through the pull request system.
Below is a working example of ore generation configuration on the Moon from the Ad Astra mod:
event.add('kubejs:moon/dilithium', vein => {
vein.weight(120)
vein.clusterSize(100)
vein.density(0.5)
vein.discardChanceOnAirExposure(1)
vein.layer("ad_astra_moon")
vein.dimensions("ad_astra:moon")
vein.heightRangeUniform(-40, 80)
vein.layeredVeinGenerator(generator => generator
.buildLayerPattern(pattern => pattern
.layer(l => l.weight(35).mat(GTMaterials.Diamond).size(2, 4))
.layer(l => l.weight(35).mat(GTMaterials.get('dilithium')).size(1, 4))
)
)
})
Available generation levels: "ad_astra_moon", "ad_astra_mars", "ad_astra_mercury", "ad_astra_venus", "ad_astra_glacio"