Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power Transformer recipe problems #2291

Closed
2 tasks done
Xefyr0 opened this issue Nov 9, 2024 · 0 comments · Fixed by #2323
Closed
2 tasks done

Power Transformer recipe problems #2291

Xefyr0 opened this issue Nov 9, 2024 · 0 comments · Fixed by #2323
Labels
type: bug Something isn't working

Comments

@Xefyr0
Copy link

Xefyr0 commented Nov 9, 2024

Checked for existing issues

  • I have checked for existing issues, and have found none.

Tested latest version

  • I have checked that this occurs on the latest version.

GregTech CEu Version

1.4.6

Minecraft Version

1.20.1

Recipe Viewer Installed

EMI

Environment

Singleplayer

Cross-Mod Interaction

Yes

Other Installed Mods

EMI, KubeJS

Expected Behavior

Expected assembler recipes for Power Transformers to not have any missing/bugged ingredients.

Actual Behavior

Extreme Voltage Power Transformer should have a Platinum Spring in the recipe, but Platinum Springs do not exist.
ev_transformer

Ultra High Voltage Power Transformer should have a Small Europium Spring in the recipe, but Small Europium Springs do not exist.
uhv_transformer

Already reported in dev-chat:
https://discord.com/channels/701354865217110096/1089296351906504835/1304571841687453696

Steps to Reproduce

Open a new instance with EMI and look at the recipe :V

As much as I hate snark on bug reports this field hasn't been very applicable for the bugs I've been reporting but I suppose that's just a skill issue on my part

Additional Information

This is likely to be related to another, more obscure issue I've been having while trying to modify Crafting Components.
When modifying CraftingComponent.CABLE_HEX or CraftingComponent.CABLE_TIER_UP_OCT using the GTCEuStartupEvents.craftingComponents event, it causes a crash unless a fallback is provided.
These two crafting components are transmuted from cables into small springs and springs, before being used in the Power Transformer recipe.

An example script is provided for testing. Simply put the file into the startup_scripts folder, launch the game to see the control test, then restart again after commenting out either of the lines that add a fallback to the map and it should cause a crash.
change my extension to .js

@Xefyr0 Xefyr0 added the type: bug Something isn't working label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant