Commit Graph
8 Commits
Author SHA1 Message Date
Jason Mitchell 275d137ba8 [ci skip] spotlessApply with the new settings 2023-01-28 18:30:34 -08:00
Raven Szewczyk cf41b89ae4 Update buildscript & spotlessApply (#78)
* Update buildscript & spotlessApply

* Add mapping version
2022-07-21 18:26:15 +07:00
Jason Mitchell 0e7bf1c530 Revert "Update TooltipHandlerBurnTime.java"
This reverts commit 3093ea6180.
2021-01-24 13:02:17 -08:00
TataTawa 3093ea6180 Update TooltipHandlerBurnTime.java
After performance profiling I found 
TileEntityFurnace.getItemBurnTime(item); 
is computationaly expensive. It occupied almost a cpu core forever, because NEI starts a task thread every few seconds and this line of code keep iteraing through all the furnance recipe in GTNH. Besides, usually the result of this computation is not useful.

Add thread name check will help performance and will not influence the player.
if (!Thread.currentThread().getName().startsWith("Client Thread")) return false;
2020-07-29 09:34:08 +00:00
tterrag1098 9af57bfea8 Container cleanup, vast refactors of all containers 2015-07-06 21:22:55 -04:00
tterrag1098 6b6f846c21 Fix potential race conditions in tooltip handlers 2015-07-02 01:57:25 -04:00
tterrag1098 f3ac159c52 Switch to using non-static Lang class 2015-05-04 10:14:01 -04:00
tterrag1098 ac982993d7 Port tooltip system to EnderCore and fix IconButton rendering 2015-05-03 22:32:37 -04:00