Перейти к содержимому
Mineforgian

Thaumcraft 4 Tweaks

Thaumcraft 4 addon to fix UI deficiency, performance issues and minor bugs.

145K загрузок38 подписчиковAGPL-3.0-onlyforge

Обновлён 10 февраля 2026 г. · опубликован 21 ноября 2022 г.

  • Скриншот: Thaumcraft 4 Tweaks
  • Скриншот: Thaumcraft 4 Tweaks

Please notice the mod is always published to curseforge first. Publication to modrinthn is done by hand and should usually soon follow CF publication, but I sometimes get lazy/forgetful and might postpone this a bit. If you downloaded a jar from modrinth and somehow while crashing it tells you the jar is not signed by me, bug me on discord so I can replace the faulty jar. Description is also more up to date there.


This is an addon to the old mod Thaumcraft 4. It is not intended to be used with newer Thaumcraft 5/6. This addon also only runs on 1.7.10.

License is AGPL 3.0 with additional exceptions on minecraft specific issues. In case you are wondering what that means, it means you are required to hand users a copy of the source code of THIS mod even if you are using TC4Tweaks only on server side. This mostly matters when you are using a custom TC4Tweaks jar, as I'd like to have your contribution back. For normal use of this mod, merely put a link to this page, the github, or curseforge page of this mod alongside your modpack/client download is enough.

Using the mod

This mod is optional on both side and the two side are free to use different version of this mod.

(Incomplete) feature list

Scrolling Through Aspect List

 

The original function of this addon. This will allow you to scroll through the aspect list in the research table using the mouse wheel. No more clicking yay! The mod will tell you scrolling is enabled when you hover your mouse over any research note.

 

 

Scrolling Through Research Pages

 

This will allow you to scroll through the indiviual pages (the pages that have descripitive texts, recipes, arcane construct illustrations, etc) in the book using the mouse wheel. No more clicking yay!

 

 

Scaling up the thaumonomicon GUI

 

Change the browserScale option in .minecraft/config/tc4tweaks.cfg. 2.0 is suitable for 1920x1080 screens under normal gui scale, whereas 1.0 is the same as original. You may want to use a different value if you use another gui scale or resolution.

 

Thaumonomicon at 2.0 scale and 1080p

 

Fix focus NPE

 

If you 

  • Equip a focus MyFocus from some TC4 addon
  • Remove said addon from your game
  • Congratulations! If you ever pick up this wand your game would crash.

 

This mod fixes this problem.

 

Performance boost

 

Basically, this will somewhat remedy the client side lag in larger modpacks when you open arcane workbench.This should also alleviate the server lag created from some player crafting 64 items using an arcane workbench.  

Throttling the GUI update

 

Version from 1.1.0 onwards allows you to throttle the Arcane Workbench crafting result update to once every X in game ticks. By default this is 4. You can set it longer if it doesn't seems to be effective enough. This value can be changed at runtime without restarting the client by accessing this mod's config GUI (Esc | Mod Options | Select TC4 Tweaks in the mod list | Config | general).

 

This will somewhat remedy the lag coming from wand recharging. Starting from version 1.2.0-beta2, this alone should be enough to fix this lag and largely remove the need for more aggressive optimization (as detailed below)  

Other performance patch

 

A few random laggy code in TC4 is made more efficient. Most of them will affect client side performance (FPS) only, yet some of them do have an impact even on dedicated servers. Most of these server-affecting patches are targeting the arcane crafting lag. Version from 1.2.0-beta12 onwards add a new patch aimed to fix alchemical furnace lag. Version from 1.4.20 onwards will reduce lag caused by energised nodes checking if they can still see relay. In general, it is suggested to install this mod on dedicated servers. It will make a difference.

 

Please refer to Technical explaination section if you are curious about the exact detail.

 

More aggressive optimizations

 

Version from 1.2.0-beta1 onwards ships with an experimental opt-in feature that prevents the arcane workbench from functioning as a normal crafting table. This accounts for the bulk of lag in large modpacks. As you can probably see this is an optimization with some side effects. You are encouraged to try it in game to see how it'd work.

 

This feature can be conveniently turned on or off at runtime (i.e. no client restart needed) by accessing this mod's config GUI (Esc | Mod Options | Select TC4 Tweaks in the mod list | Config | general). As a precaution, the feature is enabled only if checkWorkbenchRecipes is set to false, not true!

 

Even though this sounds like a change that needs to be turned on at both side, it actually works just as good on client side, if the server disables this (or simply doesn't have this mod installed) while the client enables it. It is suggested to keep this feature off on dedicated servers, and turn it on at client side only.

 

Explaination of checkWorkbenchRecipes

 

Technical explaination

This section is intended for fellow developers to only. Please don't panic if it doesn't make sense to you

  ALERT: This text is not frequently updated. Please refer to source code to check what's really happening.

 

  •  ScanManager#generateItemHash(Item, int) will no longer create a million string. The hashCode will be computed directly. This conflicts with GT6's fix and will not function if GT6's loading plugin is detected. GT6's fix will take precedence. 
  • ResearchCategories#getResearch(String) will use a HashMap now, instead of going over every research registered. This HashMap will be recomputed whenever the server starts. HashMap lookup will be disabled if the server haven't finished starting.
  • A call hook is injected into TileMagicWorkbench#setInventorySlotContents(IInventory) on client side only. It will throttle the update to once per 200ms. If any update is dropped, a flag will be set. A tick handler will then try to update once per X ticks (config value) in case of a missed update.
  • FXSonic have its model changed to static and reloaded only upon resourcepack reload.
  • In ThaumcraftCraftingManager findMatchingArcaneRecipe and findMatchingArcaneRecipeAspects got a simple LRU cache with configurable size (default to 16). Old entries will be evicted when cache is full.
  • An Thread.currentThread().setPriority(1) is injected to the start of TC4's mapping thread. If the cache is hit somehow the priority will be reverted back to normal in an attempt to ease lock contention.
  • GuiResearchRecipeVisitor was using synchronized methods and ConcurrentMap at the same time. synchronized is now removed.
  • In ThaumcraftCraftingManager getObjectTags got improved. See code for details.
  • Huge amount of changes in GuiResearchBrowser. Consult net.glease.tc4tweak.asm.GuiResearchBrowserVisitor for details
  • Most TESR are patched to not render stuff if the chunk is not yet fully loaded.

Should you have any problem using this addon, please send your questions to the github (click the Issues tab on the side of this page). Video trailer not yet available.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.5.43Релиз1.7.10forge10 февраля 2026 г..jar (379 КБ)
1.5.26Релиз1.7.10forge24 декабря 2024 г..jar (293 КБ)
1.5.25Релиз1.7.10forge24 декабря 2024 г..jar (277 КБ)
1.5.24Релиз1.7.10forge30 мая 2024 г..jar (273 КБ)
1.5.23Релиз1.7.10forge22 мая 2024 г..jar (268 КБ)
1.5.23-beta.1Бета1.7.10forge2 мая 2024 г..jar (265 КБ)
1.5.22Релиз1.7.10forge7 апреля 2024 г..jar (259 КБ)
1.5.21Релиз1.7.10forge7 апреля 2024 г..jar (245 КБ)
1.5.20Релиз1.7.10forge12 января 2024 г..jar (244 КБ)
1.5.19Релиз1.7.10forge11 января 2024 г..jar (240 КБ)
1.5.18Релиз1.7.10forge17 ноября 2023 г..jar (236 КБ)
1.5.18-beta.4Бета1.7.10forge12 ноября 2023 г..jar (235 КБ)
1.5.18-beta.3Бета1.7.10forge12 ноября 2023 г..jar (235 КБ)
1.5.18-beta.2Бета1.7.10forge7 ноября 2023 г..jar (230 КБ)
1.5.18-beta.1Бета1.7.10forge6 ноября 2023 г..jar (229 КБ)

Показаны последние 15 из 38 версий. Все версии — на Modrinth.

Ченджлог

1.5.26Релиз1.7.10 · 24 декабря 2024 г.

Change log

Change log generated from git history.

1.5.26

  1. fix earth shock deleting items (@957c71be4749d70 by Glease)

1.5.26-beta.2

  1. fix typo in experimental decant fix (@8f47b8237c520a2 by Glease)

1.5.26-beta.1

  1. add experimental decant fix (@30a96205b6bd203 by Glease)
1.5.25Релиз1.7.10 · 24 декабря 2024 г.

Change log

Change log generated from git history.

1.5.25

  1. save maze data only if it changed (@185e9bc4393c78c by Glease)

  2. fix hodgepodge compat (@8c3485acb661046 by Glease)

1.5.24Релиз1.7.10 · 30 мая 2024 г.

Change log

Change log generated from git history.

1.5.24

  1. fix aspect list null (@fde79d17e1556d6 by Glease)

  2. fix typo preventing gadomancy compat from working (@8d933e69b302e72 by Glease)

  3. fix coretweaks warning in golem (@7b5a5bed43e9d5a by Glease)

1.5.23Релиз1.7.10 · 22 мая 2024 г.

Change log

Change log generated from git history.

1.5.23

  1. fix occasional vis relay beam render glitch (@4ee23743d2c3538 by Glease)

1.5.23-beta.1

  1. lag fixes inspired by GTNewHorizons/Hodgepodge#359 (@c700d15b635b6e9 by Glease)

  2. code clean up (@4e256a5b1623a7c by Glease)

1.5.22Релиз1.7.10 · 7 апреля 2024 г.

Change log

Change log generated from git history.

1.5.22

  1. increase biome update notification to everyone in render distance (@e752bba4d09f59d by Glease)
1.5.21Релиз1.7.10 · 7 апреля 2024 г.

Change log

Change log generated from git history.

1.5.21

  1. fix more hash collision (@db2c575f6903f82 by Glease)
1.5.20Релиз1.7.10 · 12 января 2024 г.

Change log

Change log generated from git history.

1.5.20

  1. adv furnace tesr improvements and fixes (@5ad8c3373aaf05f by Glease)
1.5.19Релиз1.7.10 · 11 января 2024 г.

Change log

Change log generated from git history.

1.5.19

  1. add option to tweak champion buff value (@9a2d34a2880aef7 by Glease)

Полная история изменений — на Modrinth.

Комментарии

Загружаем…