Skip to content

feat(thaumcraft): Added new item ArcaneCraftingUpgrade#170

Merged
Dream-Master merged 24 commits intoGTNewHorizons:masterfrom
hinyb:arcane_crafting
Apr 15, 2026
Merged

feat(thaumcraft): Added new item ArcaneCraftingUpgrade#170
Dream-Master merged 24 commits intoGTNewHorizons:masterfrom
hinyb:arcane_crafting

Conversation

@hinyb
Copy link
Copy Markdown

@hinyb hinyb commented Dec 31, 2025

This item was based on the initial work in the draft PR.
This PR completes and supersedes #155, which has been inactive for several months.
Add three functions: craft, craftNormal, craftArcane.
recipe

Closes #155

Credits Co-authored-by: @AX3Lino

This item was based on the initial work in the draft PR.

Co-authored-by: AX3Lino <ax3lino@gmail.com>
@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Dec 31, 2025
@Nikolay-Sitnikov
Copy link
Copy Markdown

Does this run properly when Thaumcraft isn't installed?

@hinyb
Copy link
Copy Markdown
Author

hinyb commented Feb 5, 2026

Does this run properly when Thaumcraft isn't installed?

Yes, it works fine without it.

@Nikolay-Sitnikov Nikolay-Sitnikov self-assigned this Apr 5, 2026
@hinyb
Copy link
Copy Markdown
Author

hinyb commented Apr 6, 2026

@UltraProdigy , It seems like that the optimize images workflow you recently added is currently failing on my PR, likely due to the bot lacking the permissions to access the repository. Could you please take a look at the workflow? Thanks!

Comment thread src/main/scala/li/cil/oc/integration/thaumcraft/ModThaumcraft.scala Outdated
@spacebuilder2020
Copy link
Copy Markdown

spacebuilder2020 commented Apr 8, 2026

Does this run properly when Thaumcraft isn't installed?

Yes, it works fine without it.

Has this been tested when the Thaumcraft mod is not installed?
The reason this could be a potential issue is because there are direct references to the new thaumcraft driver in the main opencomputers mod class file. I am not fully familiar with how open computers work, but I would assume the integration is handled by the ModThaumcraft class, where the other drivers are located. I am concerned that if you attempt to load the driver directly from the main class it could cause a class not found exception when Thuamcraft is not installed since it won't be able to fully load the driver class.

https://github.com/GTNewHorizons/OpenComputers/pull/170/changes#diff-16e4f691e554cd85835d10fc813ff16749bb6b79f6673c272c881ac7560cbcc1R39

@hinyb
Copy link
Copy Markdown
Author

hinyb commented Apr 8, 2026

Does this run properly when Thaumcraft isn't installed?

Yes, it works fine without it.

Has this been tested when the Thaumcraft mod is not installed? The reason this could be a potential issue is because there are direct references to the new thaumcraft driver in the main opencomputers mod class file. I am not fully familiar with how open computers work, but I would assume the integration is handled by the ModThaumcraft class, where the other drivers are located. I am concerned that if you attempt to load the driver directly from the main class it could cause a class not found exception when Thuamcraft is not installed since it won't be able to fully load the driver class.

https://github.com/GTNewHorizons/OpenComputers/pull/170/changes#diff-16e4f691e554cd85835d10fc813ff16749bb6b79f6673c272c881ac7560cbcc1R39

I've tested it without Thaumcraft and it works fine. Since the JVM uses lazy class loading, it won't trigger a NoClassDefFoundError because the item won't be created.
But you're right, I really shouldn't put the driver here. Sorry about my mistake.

@OvermindDL1
Copy link
Copy Markdown

Looked over the code and not seeing anything immediately wrong, looks fine overall, very large but that's expected for something like this, but it seems fine. Kept tracing through various call paths since some invariants aren't documented but that's on OC and not this PR for that, but it seems like everything I followed was upheld so it seems good.

Copy link
Copy Markdown

@guneykabel guneykabel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small minor cleanups

Comment thread src/main/scala/li/cil/oc/integration/thaumcraft/UpgradeArcaneCrafting.scala Outdated
Comment thread src/main/scala/li/cil/oc/integration/thaumcraft/UpgradeArcaneCrafting.scala Outdated
Comment thread src/main/resources/assets/opencomputers/recipes/default.recipes Outdated
@Dream-Master Dream-Master requested a review from guneykabel April 11, 2026 07:39
@Dream-Master
Copy link
Copy Markdown
Member

@guneykabel can you re check this pr?

Copy link
Copy Markdown

@guneykabel guneykabel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a few issues worth addressing most are small fixes. The one I'd call a real bug is the consumeAllVis early return being inverted. Left inline comments below this is a big pr and if possible I would like to hear some other thoughts as well

Comment thread src/main/scala/li/cil/oc/integration/thaumcraft/UpgradeArcaneCrafting.scala Outdated
Comment thread src/main/scala/li/cil/oc/integration/thaumcraft/UpgradeArcaneCrafting.scala Outdated
@Dream-Master Dream-Master requested a review from guneykabel April 13, 2026 17:28
Comment thread src/main/scala/li/cil/oc/integration/thaumcraft/UpgradeArcaneCrafting.scala Outdated
Co-authored-by: guneykabel <60798455+guneykabel@users.noreply.github.com>
@Dream-Master Dream-Master enabled auto-merge (squash) April 15, 2026 15:07
@Dream-Master Dream-Master removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Apr 15, 2026
@Dream-Master Dream-Master merged commit 8e2f5a8 into GTNewHorizons:master Apr 15, 2026
2 checks passed
@hinyb hinyb deleted the arcane_crafting branch April 16, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants