LootGames
13 merged pull requests.
New Features
- #33 Added pencil note toggling via left-click in
SudokuBoardClickHandler, rendering small grey candidates inSudokuRenderer, NBT persistence inSudokuBoard, and sync packets (SPSSyncCellNotes). End-game check logic moved to dedicated packetCPSudokuEndGameCheck. - @BeerHunter1337- Added: pencil notes system for Sudoku cells, SudokuBoardClickHandler for note toggling, SPSSyncCellNotes packet for multiplayer sync, CPSudokuEndGameCheck packet for end-game detection
- #32 Added MSBoardSolver, MineSets, LogicMineSet and BombPerturbation, plus MSBoard.perturbBombLocations, which moves bombs when the solver gets stuck. GameMineSweeper.generateBoard runs the solver after generation when ConfigMS.boardLogic is 1 and the board size is 125 or less. On solver errors it logs the board knowledge and sends a chat message. MSBoard.checkWin no longer requires a flag mark on bombs. - @SeanMASilva
- Added: minesweeper no-guess board generation, board_logic config option, solver error chat message
- #23 Added exit/quit logic to
SudokuActivatorBlockandGameSudoku. RefactoredSudokuBoardgeneration logic to fix board creation. - @ABKQPO- Added: Game exit option, Pre-game confirmation prompt
- Fixed: Sudoku board generation issues
- #21 Added
SudokuActivatorBlock,SudokuTile,GameSudoku,SudokuBoard, and related rendering classes (SudokuRenderer,SudokuOverlayHandler). Updated build configuration to use modern Java syntax support. - @ABKQPO- Added: Sudoku mini-game, SudokuBoard logic, Sudoku rendering, Sudoku configuration
Balance
- #31 Adjusted blank cell counts in
ConfigSudoku: T1 (35→25), T2 (45→31), T3 (55→37), T4 (64→43). - @ABKQPO
Bug Fixes
- #39 Trackers.forPlayersWatchingChunk now loops over world.playerEntities and calls PlayerManager.isPlayerWatchingChunk instead of reading PlayerInstance internals. The access transformer file lootgames_at.cfg is deleted and removed from gradle.properties. - @RecursivePineapple
- Removed: lootgames access transformer file
- Fixed: Loot Games state not syncing to players with CC
- #35 ConfigSudoku weight property bounds changed from min 1, max 9 to min 0, max Integer.MAX_VALUE, matching ConfigGOL and ConfigMS. - @PLASMAchicken
- Fixed: Sudoku weight config range too narrow and unable to disable the game
- Closes GTNH#24160
- #27 GameSudoku now uses the translation key msg.lootgames.stage_complete instead of the mistyped msg.com.lootgames.stage_complete. - @ABKQPO
- Fixed: wrong translation key for the Sudoku stage complete message
- #25 In GameMineSweeper.onLevelSuccessfullyFinished the final else branch is now else if (currentLevel == 4), so triggerGameWin runs only once. - @Worive
- Fixed: duplicate loot from Minesweeper level 4
- Closes GTNH#17740
- #24 GameSudoku.onLevelSuccessfullyFinished now increments currentLevel first and checks currentLevel <= 4, instead of checking currentLevel < 4 and incrementing afterwards. - @ABKQPO
- Fixed: Sudoku loot game giving an incorrect number of chests
- Closes GTNH#22532
Removals
- #28 Deleted the com.jamesswafford.chess4j engine package (board, Magic bitboards, move generation, opening book and related classes) along with about 100 other changed files. Also updated gradle.properties, settings.gradle plugin version and the wrapper. - @Nikolay-Sitnikov
- Removed: chess loot game
Internal / Refactor
- #30 Removed the Yamcl dependency from dependencies.gradle and replaced its usages. Deleted TeleportHelper and PeacefulEntityCommand, moved LegacyLGConfig, LegacyMigrator and RewardUtils off YamCore helpers, and added generics to getSubBlocks overrides. - @Nikolay-Sitnikov
- Removed: YamCore dependency, peaceful entity debug command, TeleportHelper
Chores
- #29 Updated gradle.properties (enableModernJavaSyntax = jabel, configuration cache and parallel), added gradle-daemon-jvm.properties (toolchain 25), regenerated the wrapper scripts, and bumped gtnhsettingsconvention to 2.0.19 with the new settings.gradle property syntax. - @Nikolay-Sitnikov
- Fixed: Gradle deprecation warnings
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@ABKQPO (9), @Dream-Master (5), @Nikolay-Sitnikov (3), @LazyFlesh (2), @TimeConqueror (2), @BeerHunter1337 (1), @chochem (1), @danyadev (1), @koolkrafter5 (1), @Kynake (1), @PLASMAchicken (1), @QuanhuZeYu (1), @RecursivePineapple (1), @SeanMASilva (1), @UltraProdigy (1), @Worive (1)