#Custom ore veins don't seem to generate in the End.

1 messages · Page 1 of 1 (latest)

turbid roost
#

as title, they do not show up in the ore vein tab in JEI, or in the prospector.

the same general method works with the overworld, nether and the gregtech rocketry moon

the code is below:

the ore vein itself

GTCEuServerEvents.oreVeins(event => {
    event.add("kubejs:bauxite", vein => {
        vein.weight(40) 
        vein.clusterSize(40) 
        vein.density(0.5) 
        vein.discardChanceOnAirExposure(0)
        vein.layer("end_stone")
        vein.dimensions("minecraft:the_end")
        vein.heightRangeUniform(20, 50) 

        vein.layeredVeinGenerator(generator => generator
            .buildLayerPattern(pattern => pattern
                .layer(l => l
                    .weight(1)
                    .mat(GTMaterials.Bauxite)
                    .size(9, 10)
                   )
            )
        )
        vein.surfaceIndicatorGenerator(indicator => indicator
            .surfaceRock(GTMaterials.Bauxite)
            .placement("above") 
            .density(0.4)
            .radius(5)
        )        
    })
})

the layer for the end and gregtech rocketry moon:

GTCEuStartupEvents.registry('gtceu:world_gen_layer', event => {
    event.create('end_stone')
        .targets('minecraft:end_stone')
        .dimensions('minecraft:the_end')

    event.create('moon_stone')
        .targets('gcyr:moon_stone')
        .dimensions('gcyr:luna')
})
turbid roost
#

bump

slate meteor
#

try registring in startup as a gtceu vein

turbid roost
#

got it to work

#
GTCEuServerEvents.oreVeins(event => {
    event.add('kubejs:bauxite', vein => {
        vein.weight(40)
        vein.clusterSize(40)
        vein.density(0.5)
        vein.discardChanceOnAirExposure(0)

        vein.layer('end_stone')
        vein.heightRangeUniform(20, 50)

        vein.layeredVeinGenerator(generator => generator
            .buildLayerPattern(pattern => pattern
                .layer(l => l
                    .weight(1)
                    .mat(GTMaterials.Bauxite)
                    .size(9, 10)
                )
            )
        )
    })
})
GTCEuStartupEvents.registry('gtceu:world_gen_layer', event => {
    event.create('end_stone')
        .targets('minecraft:end_stone')
        .dimensions('minecraft:the_end')
})

here's how i got it to work if anyone has a similar issue