BlockRenderer6343
25 merged pull requests.
New Features
- #47 Modified BRUtil ingredient sorting and GuiMultiblockHandler to prioritize main/controller blocks. Removed GT-specific logic that had been introduced in a previous PR. - @Lyfts
- Removed: GT hard dependency from ingredient ordering
- #43 Added BROptionToggleButton for GUI toggles. Extended BRUtil, GTNEIUtil, and NEI handlers to support named paper generation and hatch filtering. Added localization strings for new options. - @czqwq
- Added: BROptionToggleButton class, Named paper output for patterns, Hatch filtering option, NEI Options toggles, Language strings for new features
- #40 Adjusted NEIConfig handler width and build script. Updated Gradle wrapper and added gradle-daemon-jvm configuration. - @slprime
- Added: gradle-daemon-jvm.properties configuration
- Fixed: Slide bars and buttons missing in NEI multiblock preview
- Closes GTNH#23837
Changes
- #60 Modified GTGuiMultiblockHandler to exclude gt_hatch from channel copy, updated ConstructableData, replaced deprecated NEI calls in StructureHacks, and relaxed GT5U version constraint. - @Lyfts
- Removed: gt_hatch from copied projector channels, Hard GT5U version requirement
- Fixed: Deprecated NEI method usage
- Closes GTNH#25299
- #46 Changed the en_US value of nei.options.blockrenderer6343.auto_fill_pattern; the zh_CN file also changed. - @czqwq
- #41 Fixed string formatting in GTGuiMultiblockHandler and lang files to add correct spaces between hatch type names. - @Yoshy2002
- Fixed: Hatch type display spacing in multiblock previews
Bug Fixes
- #66 GTGuiMultiblockHandler.onElementAdded now removes any earlier dot and hatch-group entry for a position before re-adding it, since structure checks can revisit a position with an element from another tier. - @DreamYao520
- Fixed: incorrect PCB Factory hatch highlight in NEI preview
- #59 GTGuiMultiblockHandler no longer clears dotForPos and hatchGroupPositions in loadNewMultiblock. placeMultiblock clears them on every placement, so a tier change resets the cached hatch positions. - @Lyfts
- Fixed: hatch highlight positions not updating after tier change in NEI preview
- #58 GTConstructableScan creates the ObserverWorld earlier and calls estimateTierFromConstructable for each multiblock with data. If the estimate is above 1, it is stored with setMaxTier(estimatedTier, ""). - @Yoshy2002
- Fixed: NEI tier slider capping below STRUCTURE_LENGTH and STRUCTURE_HEIGHT for Assembly Line, Lapotronic Supercapacitor and Substation
- Closes GTNH#26117
- #57 Renamed isGTLoaded to isGT5uNHLoaded and changed the Loader.isModLoaded check from "gregtech" to "gregtech_nh" in BlockRenderer6343, ClientProxy, BRUtil, ObserverWorld and NEIConfig. - @felixfour
- Fixed: GT loader check matching other GT versions
- #54 StructureHacks gains a trigger item transform getter using GTStructureUtility and ChannelDataAccessor. Dependencies bumped: StructureLib 1.4.42, GT5-Unofficial 5.09.54.10, plus ForestryMC as a runtime-only dev dependency. - @AnsonYeung
- Fixed: glass slider not working in NEI multiblock preview
- #53 In ConstructableData.setMaxTier the BOROGLASS channel check was inverted. The glass max tier index now applies only to the borosilicate glass channel, and every other channel raises maxTotalTier by its own tier. - @AnsonYeung
- Fixed: glass tier range used for the wrong multiblocks in NEI preview
- #52 ConstructableData.setMaxTier sets maxTotalTier from GlassTier.getMaxTierIndex() unless the channel is BOROGLASS. Bumps GT5-Unofficial to 5.09.54.03 along with StructureLib, GTNHLib and NEI, and adds AE2 and WirelessCraftingTerminal as runtime-only dependencies. - @AnsonYeung
- Fixed: wrong main tier in structure preview with glass channels
- #51 GTNEIMultiblockHandler now matches the candidate stack with NEIClientUtils.areStacksSameTypeCrafting instead of areStacksSameType. - @AnsonYeung
- Fixed: Imprinted Circuit Assembly Line missing structure guide in NEI
- Closes GTNH#25133
- #48 Deleted retained world client field from GuiMultiblockHandler. - @Alexdoru
- Removed: World client field in GuiMultiblockHandler
- Fixed: World client memory leak in GuiMultiblockHandler
- #45 CreativeItemSource keeps a separate tempItemList for items already taken instead of reordering itemList. BRUtil.getIngredients collects controllers, blocks and hatches into separate ItemStackAmount sets and returns them in that order. - @evgengoldwar
- Added: sorted ingredient list in multiblock preview
- Fixed: hatch positions wrong after changing tier in NEI preview
- #44 GuiMultiblockHandler.drawMultiblock now takes the recipe index and passes it to getRecipePosition instead of always using 0. MultiblockHandler.drawBackground passes its recipe argument through. Removed an unused import. - @Lyfts
- Fixed: NEI multiblock preview cursor offset on secondary recipe pages
- Closes GTNH#24205
- #39 GTGuiMultiblockHandler.loadNewMultiblock calls setChannelTier(GTStructureChannels.HATCH, 1) after super.loadNewMultiblock(); setChannelTier in GuiMultiblockHandler is now protected. Dependencies bumped (StructureLib 1.4.28, GTNHLib 0.9.6, GT5-Unofficial 5.09.52.232, NEI 2.8.55-GTNH, NEE 1.7.22). - @chrombread
- Fixed: multiblock preview for machines with custom hatches
- #38 GTGuiMultiblockHandler switches the hatch element builder call from dot(1) to hint(1) and bumps GT5-Unofficial to 5.09.52.156. - @UltraProdigy
- Fixed: structure preview hatch hint handling
Internal / Refactor
- #65 getConstructableData and getEmptyConstructableData in ConstructableData are now static, since they return static fields. - @ABKQPO
- #63 ConstructableData gains getters for constructableData, EMPTY, itemTiers and itemChannels, and getChannelData is renamed to getChannelMaxTierMap. GuiMultiblockHandler is updated to match. - @ABKQPO
- #50 Added ColorUtils with a ColorResource neiBackground (0xC6C6C6). Removed the BgColor lang key, the resource reload listener in ClientProxy and WorldSceneRenderer.backgroundColor. Bumps GTNHLib to 0.11.5, which is required. - @Ranzuu
- Added: ColorUtils colour resource
- Removed: BgColor lang entry, resource reload colour listener
Chores
- #64 Bumps GT5-Unofficial to 5.09.54.158 and adds an after:gregtech_nh@[5.09.54.158,) dependency. GTGuiMultiblockHandler drops the mHint and getHint reflection and keeps only the this$0 getter for the hatch builder. - @danyadev
- #56 Raised tier check limit in StructureHacks to allow glass tiers above 50 to display in NEI slider. - @Auynonymous
- #36 MultiblockHandler drops its own ingredient and catalyst height tracking (ingredients, positionedIngredients, lastRecipeHeight and the reset in drawBackground) and GT5-Unofficial goes to 5.09.52.32. Requires NotEnoughItems PR 701. - @slprime
- Removed: handler-side catalyst layout code
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@AnsonYeung (7), @Yoshy2002 (6), @Lyfts (5), @ABKQPO (4), @UltraProdigy (4), @slprime (3), @boubou19 (2), @chrombread (2), @czqwq (2), @danyadev (2), @DreamYao520 (2), @Ethryan (2), @Nana-Sakura (2), @Alexdoru (1), @Auynonymous (1), @Caedis (1), @Copilot (1), @Dream-Master (1), @evgengoldwar (1), @felixfour (1), @Ranzuu (1), @Ruling-0 (1), @wlhlm (1)