#what's wrong with this

23 messages · Page 1 of 1 (latest)

wide ice
#

i dont know whats wrong, game launches but gt recipes are gone in emi, the recipes work but i cant see them

        .rotationState(RotationState.NON_Y_AXIS)
        .recipeTypes(GTRecipeTypes.PYROLYSE_RECIPES)
        .recipeModifiers([GTRecipeModifiers.PARALLEL_HATCH, GTRecipeModifiers.OC_NON_PERFECT])
        .appearanceBlock(GCYMBlocks.CASING_HIGH_TEMPERATURE_SMELTING)
        .pattern(definition => FactoryBlockPattern.start()
        .aisle('HHH', 'HMH', 'HHH')
        .aisle('CCC', 'C C', 'CCC')
        .aisle('VVV', 'V V', 'VVV')
        .aisle('CCC', 'C C', 'CCC')
        .aisle('HHH', 'H#H', 'HHH')
            .where('#', Predicates.controller(Predicates.blocks(definition.get())))
            .where('H', Predicates.blocks(GCYMBlocks.CASING_HIGH_TEMPERATURE_SMELTING.get()
                .or(Predicates.autoAbilities(definition.getRecipeTypes()))
                .or(Predicates.abilities(PartAbility.PARALLEL_HATCH).setMaxGlobalLimited(1))
                .or(Predicates.abilities(PartAbility.MAINTENANCE).setExactLimit(1)))
            .where('C', Predicates.blocks(GTBlocks.COIL_HSSG.get()))
            .where('V', Predicates.blocks(GCYMBlocks.HEAT_VENT.get()))
            .where('M', Predicates.abilities(PartAbility.MUFFLER)))
            .where(' ', Predicates.any())
            .build())
        .workableCasingRenderer("gtceu:block/casings/gcym/high_temperature_smelting_casing", 
            "gtceu:block/multiblock/pyrolyse_oven", false)```
normal lance
#

Send log

spring breach
#

The logs here would not actually tell us anything

#

the predicates are wrong somewhere

#

any other issue would throw a null error, and that is where logs would help

#
        .rotationState(RotationState.NON_Y_AXIS)
        .recipeTypes(GTRecipeTypes.PYROLYSE_RECIPES)
        .recipeModifiers([GTRecipeModifiers.PARALLEL_HATCH, GTRecipeModifiers.OC_NON_PERFECT])
        .appearanceBlock(GCYMBlocks.CASING_HIGH_TEMPERATURE_SMELTING)
        .pattern(definition => FactoryBlockPattern.start()
        .aisle('HHH', 'HMH', 'HHH')
        .aisle('CCC', 'C C', 'CCC')
        .aisle('VVV', 'V V', 'VVV')
        .aisle('CCC', 'C C', 'CCC')
        .aisle('HHH', 'H#H', 'HHH')
            .where('#', Predicates.controller(Predicates.blocks(definition.get())))
            .where('H', Predicates.blocks(GCYMBlocks.CASING_HIGH_TEMPERATURE_SMELTING.get()
               .or(Predicates.abilities(PartAbility.MAINTENANCE).setMaxGlobalLimited(1))
           .or(Predicates.abilities(PartAbility.PARALLEL_HATCH).setMaxGlobalLimited(1))
           .or(Predicates.autoAbilities(definition.getRecipeTypes())))
            .where('C', Predicates.blocks(GTBlocks.COIL_HSSG.get()))
            .where('V', Predicates.blocks(GCYMBlocks.HEAT_VENT.get()))
            .where('M', Predicates.abilities(PartAbility.MUFFLER)))
            .where(' ', Predicates.any())
            .build())
        .workableCasingRenderer("gtceu:block/casings/gcym/high_temperature_smelting_casing", 
            "gtceu:block/multiblock/pyrolyse_oven", false)``` I can't test it, but it should work
#

your predicates were nested wrong

wide ice
#

aight

wide ice
#

game crashes when i try to join a world

wide ice
#

i think the crash is unrelated

normal lance
#

Problems: 1: "com.gregtechceu.gtceu.api.data.chemical.material.Material.getName()" because "mat" is null, and 2: fix those KJS recipes.

wide ice
#

the ones before the hnn stuff arent kubejs scrips

#

i dont know why they are there

wide ice
normal lance
#

If you're adding GTCEu Materials, then it would be in startup, if not check your recipes

wide ice
#

i cant find anything

#

and i havent edited any scripts with material registry

normal lance
#

do you call any GT materials an any recipes, and fro the mat. reg. use make sure you use: .components(GTMaterials.Electrum, GTMaterials.Aluminium, GTMaterials.Iron3Chloride) instead of .components(electrum, aluminium, iron3chloride) Just an example, if you could send the mat. reg script you have if you don't have that specific problem, this was the cause of one I personally had.

wide ice
wide ice