Regarding your workableCasingRenderer and .blockState:
Your previous code:
.workableCasingRenderer(GTCEu.id("block/casings/gcym/high_temperature_smelting_casing"), "gtceu:block/multiblock/assembly_line", false)
And then my suggestion:
.workableCasingRenderer(
GTCEu.id("block/casings/gcym/high_temperature_smelting_casing"), // Model when INACTIVE
"your_modid:block/draconic_forge_mk1", // Model when ACTIVE (this is your OBJ's JSON)
true // This boolean here is key!
)
// .blockState(state => state // This part might be redundant if the above handles it
// .variant('active=false', model => model.model("your_modid:block/draconic_forge_mk1_inactive"))
// .variant('active=true', model => model.model("your_modid:block/draconic_forge_mk1_active"))
// )
If you use workableCasingRenderer with the third parameter as true, GTCEu handles the switch:
- Inactive: It uses the first model path (
GTCEu.id("block/casings/gcym/high_temperature_smelting_casing")).
- Active: It uses the second model path (
"your_modid:block/draconic_forge_mk1").
In this simpler setup, you would not need the .blockState(...) part, nor would you need to define draconic_forge_mk1_inactive.json yourself, because the inactive state is already handled by GTCEu.id("block/casings/gcym/high_temperature_smelting_casing").
You would only need the .blockState definition if:
- You want more than two states (e.g., active, inactive, jammed, processing).
- You want the inactive state to be something other than the
high_temperature_smelting_casing model.
- The
workableCasingRenderer with the boolean isn't working as expected for the active/inactive switch (though it generally should).