Skip to content

IFU ​

9 merged pull requests.

New Features ​

  • #26 Rewrites the ore matching into OreFinderSearch and renames the mod class to IFU, ExtendedPlayer to OreFinderPlayerData (which also remembers the last scan) and the slot classes to SlotFilter and SlotLocked. Deletes leftover building kit and keypad code, adds ConfigHandler allowlist and blocklists plus a debug print option, and bumps GT5-Unofficial, GTNHLib and JourneyMap dev dependencies. - @Algent
    • Added: config allowlist for arbitrary block matching, material blocklist, item ID blocklist, GUI output of what the wand is searching for, config option for debug output of matching
    • Removed: deprecated blocklist, leftover building kit and keypad code
    • Fixed: Ore Finder wand not working with basaltic ore blocks, Ore Finder wand not working with specific blocks, wand scan running once per wand in the inventory
    • Closes GTNH#24346, GTNH#25219

Changes ​

  • #29 Added configurable discovery range parameter to ConfigHandler and ItemOreFinderTool with default value of 24 blocks. - @Algent
    • Added: Configurable ore vein discovery range setting
    • Fixed: Ore finder only marking single ore vein
    • Closes GTNH#25585
  • #21 Updated ItemOreFinderTool to leverage OreManager and OreInfo instead of custom ore handling, fixed tooltip display logic, added support for concurrent player wand usage, and changed metadata to count discovered ores. - @RecursivePineapple
    • Added: Support for multiple simultaneous wand users, Wand metadata ore count display
    • Removed: Hacky global item icon handling code
    • Fixed: Wand tooltip not displaying

Bug Fixes ​

  • #30 Replaced the removed GTUtility.translate calls in GuiOreFinder, ItemOreFinderTool and OreFinderSearch with StatCollector.translateToLocal and translateToLocalFormatted. Also bumped GTNHLib, GT5-Unofficial, VisualProspecting, Angelica and JourneyMap dev dependencies. - @Eldrinn-Elantey
    • Fixed: Crash when mousing over the ore finder wand, Ore finder wand tooltip and search text on updated GT5-Unofficial
    • Closes GTNH#26046
  • #28 OreFinderSearch.MatchTarget now stores a Set<String> of material names, and matchedOre checks the name of info.material against that set instead of a ReferenceOpenHashSet lookup by identity. - @Algent
    • Fixed: Copper Ore not found by the ore finder wand
    • Closes GTNH#25492
  • #24 Replaced the binary texture guiIngBuildingKit.png under assets/ifu/textures/gui. No code changes. - @Ranzuu
    • Fixed: Building kit GUI texture

Internal / Refactor ​

  • #27 ColorUtils builds its ColorResource.Factory with the literal "ifu" instead of IFU.MOD_ID, which drops the IFU import. - @Algent
  • #22 InventoryBuildingKit.getInventoryName now returns gui.ifu_buildingKit.title. Added that key to en_US, de_DE, ru_RU and zh_CN lang files. - @Ranzuu
    • Added: separate GUI title lang key for the Ore Finder Wand

Chores ​

  • #31 Added GTModHandler.RecipeBits.DO_NOT_CHECK_FOR_COLLISIONS to the addCraftingRecipe flags in Recipes.run for ifu_buildingKit. - @boubou19
    • Fixed: recipe collision log warning for the Ore Finder Wand

Contributors ​

Everyone who authored, reviewed or co-authored a change on this page, with how many of them:

@Algent (5), @Dream-Master (4), @Ranzuu (3), @boubou19 (2), @cubefury (1), @Eldrinn-Elantey (1), @MalTeeez (1), @RecursivePineapple (1), @UltraProdigy (1)