Skip to content

HydroEnergy ​

12 merged pull requests.

New Features ​

  • #49 Updated tile entity implementations to expose power toggle capability through GUI controls. - @SiwwiSiwwi
    • Added: GUI power toggle for Hydro Dam, GUI power toggle for Hydro Pump, GUI power toggle for Hydro Turbine

Changes ​

  • #45 Updated dependencies, added EndlessIDs support, refactored HETieredTileEntity and HEPacketChunkUpdate to use new multiblock diagnostics patterns. Fixed MTEHatchOutput-related crash and added hooks for structure compatibility. - @tiffit
    • Added: EndlessIDs compatibility, Multiblock diagnostics hooks
    • Fixed: Hydro Dam crash with EndlessIDs, MTEHatchOutput compatibility issue
    • Closes GTNH#24915
  • #41 Modified HEHydroDamTileEntity, HEHydroPumpTileEntity, and HEHydroTurbineTileEntity to integrate with GT5's OptionalResources for dynamic texture resolution. Updated dependency version. - @leagris

Bug Fixes ​

  • #47 Added bounds checking and error handling in HEHydroDamTileEntity, HEBlockQueue, HEServer, and HELightManager. Fixed skylight array access in HEDam and HELightManager. Updated config validation in HEConfig. - @SiwwiSiwwi
    • Added: Bounds checking for water spread, Skylight availability validation
    • Fixed: Crash from too many dams, Crash from water above world height, Crash in dimensions without skylight
  • #46 Removed texture registration for he_water_config GUI element from HE.java and HEWater.java, preventing it from being added to the block atlas. - @tiffit
    • Removed: GUI texture from block atlas
    • Fixed: Unnecessary texture in block atlas
  • #44 Modified GT_PollutionRendererMixin to clear the world reference, eliminating the client-side world leak in the pollution rendering system. - @Alexdoru
    • Removed: World reference leak in GT_PollutionRendererMixin
    • Fixed: Memory leak from pollution renderer holding world reference
  • #39 Corrected text in HEHydroTurbineTileEntity.java description string. - @BroFaceMcgee
    • Fixed: typo in hydro turbine description (issue #23439)
    • Closes GTNH#23439
  • #38 Added defensive programming: try-catch in HELightManager.markChunkForRerender() for uninitialized RenderGlobal, null checks in HELightManager.onLightUpdate(), buffer validation and exception handling in HEPacketChunkUpdate, null checks in HEWater.canFlowInto() and HEBlockQueue.resolve(). Updated gradle wrapper and build dependencies. - @rainbowjose
    • Added: buffer validation in packet handling, null checks throughout hydro dam systems
    • Fixed: NPE crashes in light manager, buffer underflow crashes in packet handling, crashes from unloaded chunks during water spreading, potential world corruption from hydro dam operations
  • #37 Enhanced HELightSMPHooks.java with additional world validation checks to handle edge cases with fake client worlds on servers and fake server worlds on clients. Updated build scripts and dependencies. - @chochem
    • Fixed: Wrench of Evolution crash (issue #22837)
    • Closes GTNH#22837

Performance ​

  • #48 Refactored HELightManager to track which dams affect each chunk and cache lighting selectively, updated HETessalator and HEProgram to skip empty sections and reuse buffers, deduplicates HEBlockQueue entries, and removed unused HEClient initialization. - @Algent
    • Added: Per-chunk lighting data caching, Selective dam tracking
    • Removed: Global lighting cache

Internal / Refactor ​

  • #42 Replaced direct tooltip building in HEHydroDamTileEntity, HEHydroPumpTileEntity, and HEHydroTurbineTileEntity with calls to a tooltip builder system. Removed tooltip-related methods from HE.java. - @Alexdoru
    • Removed: Direct tooltip building methods
  • #40 Updated mixin @Inject methods in ActiveRenderInfoMixin, ChunkClientMixin, ChunkMixin, EntityRendererMixin, and WorldMixinClient to use @Local for selective local variable capture; removed EntityRenderer render redirect from HETessalator. All injects remain functionally equivalent. - @Alexdoru
    • Removed: EntityRenderer render redirect

Contributors ​

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

@boubou19 (6), @Alexdoru (3), @UltraProdigy (3), @MLGfruitshoot (2), @SiwwiSiwwi (2), @tiffit (2), @Algent (1), @AnsonYeung (1), @Auynonymous (1), @BroFaceMcgee (1), @chochem (1), @danyadev (1), @desla042-hub (1), @Dream-Master (1), @FourIsTheNumber (1), @koolkrafter5 (1), @leagris (1), @Pxx500 (1), @rainbowjose (1), @seventh-june (1), @sisyphussy (1)