#custom input hatch crashes the game

5 messages · Page 1 of 1 (latest)

rigid river
#

The only help I can offer is checking gergtech version. I think that star technology uses the 1.6.4 version of gregtech, maybe check you're using the same?

tight frost
#

yea u right, i use 7.5.2

rigid river
#

I think the syntax was changed from .workableCasingRenderer to .workableCasingModel and also dropping the third argument. The wiki might say something about it

tight frost
#

yeye that was it

#
GTCEuStartupEvents.registry('gtceu:machine', event => {
    event.create('fluid_input','custom')
        .machine((holder, tier) => new $FluidHatchPartMachine(holder, tier, 'in', 2000, 1))   
        .tiers(GTValues.ULV)
        .definition((tier, builder) => {
            builder
                .workableCasingModel('gtceu:block/casings/gcym/industrial_steam_casing', 'gtceu:block/multiblock/tank_valve')
            });
});```

this is the new code, it still crashes when i place it down tho