GregTech CE Unofficial

GregTech CE Unofficial

412k Downloads

trying to add heating coils in GregTech causes a funny gregtech.material.null issue [Bug reported in discord server transferred to github]

Nrmot opened this issue ยท 0 comments

commented

GregTech CEu Version

GregTech CEu V2.7,3-beta

Modpack Used

First spotted while working on CBT: New Horizons 1.0,4

Addons Installed

Addons were installed but are irrelevant to the bug.

Environment

In-game

New Worlds

Unsure

Cross-Mod Interaction

Yes

Expected Behavior

The coil should be present in the game

Actual Behavior

Uhhhhhhhhhhhhhhhhhhhhhhh

image
image
image
image

so basically i was trying to add this block using crafttweaker

i tried multiple different iterations:
HeatingCoils.add(blockstate:gregtech:meta_block_compressed_937:variant=gregtech_schrabidium, "schrabidium", 24000, 2, 4, 3, material:schrabidium);
HeatingCoils.add(blockstate:gregtech:meta_block_compressed_937:15:variant=gregtech_schrabidium, "schrabidium", 24000, 2, 4, 3, material:schrabidium);

Without the variant thing it straight up crashes.

Steps to Reproduce

  1. add any metablocks from GTCEu as a base for the heating coil block using crafttweaker
  2. double check for the variant
  3. launch game and if all goes right, it should be registered..
  4. thats not the end, if the game crashes, fix the code. if game doesn't crash, look for the multiblock recipe and you would see a gregtech,material.null block in place

Additional Information

Details of the bug:
This bug has 2 mods involved:
GTCEu (main bug)
CraftTweaker (for easy reproduction)

This bug was originally reported in the discord server, but transferred here so there won't be 2 different reports of the same bug.

Could not resolve line [INITIALIZATION][CLIENT][ERROR] periodic table\new_casings.zs:11: Could not resolve that happens with the crash

Once the fix is applied, this bug report can be closed.