Skip to content

Commit

Permalink
Add a search bar to the mod config gui (#427)
Browse files Browse the repository at this point in the history
* add a search bar to the mod config gui

* move `@Config.RequiresMcRestart` onto class

* enable categorized for config gui

* move the rest of the @Config.RequiresMcRestart annotations onto class

* oops wrong one

* removed unused shadow

* spotlessApply (#430)

Co-authored-by: GitHub GTNH Actions <>

---------

Co-authored-by: Martin Robertz <dream-master@gmx.net>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Caedis <Caedis@users.noreply.github.com>
  • Loading branch information
4 people authored Oct 21, 2024
1 parent 161c8c2 commit 3b3a76e
Show file tree
Hide file tree
Showing 10 changed files with 186 additions and 196 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
import com.gtnewhorizon.gtnhlib.config.Config;

@Config(modid = "hodgepodge", category = "asm")
@Config.RequiresMcRestart
public class ASMConfig {

@Config.Comment("Disable CoFH TileEntity cache (and patch MineFactory Reloaded and Thermal Expansion with a workaround)")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean cofhWorldTransformer;

@Config.Comment("Speedup progressbar")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean speedupProgressBar;

@Config.Comment("Speedup LongInt HashMap")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
public static boolean speedupLongIntHashMap;

@Config.Comment("If using Bukkit/Thermos, the CraftServer package.")
Expand Down
Loading

0 comments on commit 3b3a76e

Please sign in to comment.