gitlab distant-horizons-team/distant-horizons 3.4.0

one hour ago

Highlights:

  • Upped API version 7.2.0 -> 7.3.0
  • Add MC 1.7.10 support
  • Add community submitted support for over 150 languages
  • Add block model rendering
    • This doesn't include block entities like chests

Full Changelog

Additions:

  • Add MC 1.7.10 support
  • Add localization files for over 150 languages
  • Add block model rendering
    • This doesn't include block entities like chests
  • Add sloped water rendering
  • Add Iris multi-backend support
    • This is laying the groundwork for Iris Vulkan support
  • Display a dialog if the SQL update scripts take a long time to run
  • Add grass block side-rendering


Improvements:

  • Allow changing Render Definitions while the game is running
  • Improve Chunky API handling
  • Add logging for missing/broken icon textures
  • Improve how DH handles unknown rendering APIs
  • Limit GL block mipmap levels so the lowest mip is exactly one block
  • Clear biome wrapper cache on world close
    • Should help resolve issues with mods that use DH's biomes
  • Reduce allocations in chunk update manager queue loop
  • Save chunk hashes during chunk world gen
  • Sample the top of LOD columns instead of the bottom
    • This improves biome/color resolution with modded worlds and underground biomes
  • Don't have ChunkUpdateQueueManager busy wait
  • Darken leaf gaps to better match vanilla's fast leaf setting


Changes:

  • Iris 1.11.99 and older are now incompatible on MC 26.3
    • Iris 1.12 or newer is needed for the multi-backend support


Bug Fixes:

  • Fix auto updater failing on Linux due to duplicate quotes
  • Cancel futures for interrupted world gen tasks so they don't get stuck
  • Fix null pointer in Camera.update()
  • Fix a potential deadlock in ServerThreadTaskHandler
  • Release old world gen tickets in 1.7.10 and 1.12.2
  • Fix thread preset command missing its comment
  • Fix Quick Render toggle config when changed via the API
  • Fix DH getting 0 threads from C2ME and crashing
  • Fix fog not using the correct max thickness
  • Fix world gen not unbinding on level close
  • Fix Blaze3D and beacon rendering at 10 million or more blocks from the world origin
  • Fix birch leaf tinting
  • Fix DH crashing the server if the server rejects the client's mods
  • Fix transparent blocks under overhangs and in full sun
  • Fix debug keybinds on all mod loaders
  • Fix rare GL_POLYGON_MODE overflow issue on Mac
  • Fix GL test renderer on MC 26.3
  • Fix DH not rendering when at yaw 180 and pitch 0
  • Fix blocks to ignore tooltip typo
  • Fix crashing when Sodium is installed on a dedicated server
  • Maybe fix changing player level to an unloaded server level
  • Fix a leak caused by PositionalLockProvider cleanup not running
  • Fix chunk wrapper block getter using the wrong position in MC's debug world
  • Preserve linear temporal history sampling after the TAA render pass
  • Fix generation bounds not being properly handled on client
  • Fix log top colors
  • Maybe fix infinite LOD reread loop after server generation completes
  • Fix a race condition with replacement blocks
  • Fix override injector concurrency issue
  • Fix shutdown race in AbstractLodRequestState
  • fix DH world gen not finding biomes for pre-existing chunks on MC 1.21.1 (and potentially other MC versions as well)

API

Highlights:

  • Up API version 7.2.0 -> 7.3.0
  • Added the ability to set custom rendering engines (definitions) via IDhApiRenderProxy (necessary for Iris' future Vulkan update)
  • Added the ability to set DH block models

Full Changelog

Additions:

  • new class methods

    • DhApiVec3d
      • set(DhApiVec3d that)
      • set(double x, double y, double z)
    • DhApiBlockStateWrapperCreatedEvent
      • setAllowApiModelOverride(boolean allowApiModelOverride)
      • boolean getAllowApiModelOverride()
    • IDhApiRenderProxy
      • reloadRenderDataCache()
      • setRenderDefinitionOverrideAsync(AbstractDhApiRenderDefinition renderDef, String apiUserDisplayName)
      • clearRenderDefinitionOverrideAsync()
      • setUseDhRenderInjections(boolean useDhRenderInjections)
      • getUseDhRenderInjections()
      • renderLodPass(DhApiMat4f minecraftModelViewMatrix, DhApiMat4f minecraftProjectionMatrix, float partialTickTime, IDhApiLevelWrapper clientLevelWrapper, boolean deferredLayer)
      • renderVanillaFadePass(DhApiMat4f minecraftModelViewMatrix, DhApiMat4f minecraftProjectionMatrix, float partialTickTime, IDhApiLevelWrapper clientLevelWrapper, boolean deferredLayer)
    • IDhApiRenderableBoxGroup
      • IDhApiGenericObjectVertexBufferContainer getRenderVertexBufferContainer()
    • IDhApiCustomRenderRegister
      • Collection<? extends IDhApiRenderableBoxGroup> getRenderBoxList()
  • new class parameters

    • DhApiRenderParam
      - AbstractDhApiRenderDefinition renderDefinition
      - boolean vanillaFogEnabled
  • New enum values

    • EDhApiRenderingEngine
      • API
    • EDhApiRenderingApi
      • UNKNOWN
        • provided for API users who want to create a rendering engine that isn't Vulkan or OpenGL based
    • EDhApiGrassSideRendering
      • GRASS_TOP_BLOCK
  • new classes

    • AbstractDhApiRenderDefinition
    • DhApiBlockModelOverrideEvent
    • DhApiEBeforeRenderDataCacheClearEvent
    • DhApiModelQuad
    • EDhApiTerrainRenderPass
    • EDhApiTerrainVertexFormat
    • IDebugBox
    • IDhApiAntiAliasRenderer
    • IDhApiBlockTextureAtlas
    • IDhApiDebugWireframeRenderer
    • IDhApiFarFadeRenderer
    • IDhApiFogRenderer
    • IDhApiGenericObjectVertexBufferContainer
    • IDhApiGenericRenderer
    • IDhApiMetaRenderer
    • IDhApiReadOnlyList
    • IDhApiSsaoRenderer
    • IDhApiTerrainBufferContainer
    • IDhApiTerrainContainerUniformBufferWrapper
    • IDhApiTerrainRenderer
    • IDhApiTestTriangleRenderer
    • IDhApiVanillaFadeRenderer
    • IDhApiVertexBufferWrapper


Fixes

  • DhApiFogRenderParam setting the far fog max thickness incorrectly
  • DhApiBlockTextureOverrideEvent not setting the initial texture pixel array
    • This caused unset blocks to use the wrong/no texture
  • Fix a rare OverrideInjector concurrency issue

Don't miss a new distant-horizons release

NewReleases is sending notifications on new releases.