HammerLib

Library used by all of DragonForge team's mods.

File Details

[1.12.2] HammerLib - 12.2.59

  • R
  • May 31, 2026
  • 2.44 MB
  • 500
  • 1.12.2
  • Forge

File Name

HammerLib-1.12.2-12.2.59.jar

Supported Versions

  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:hammer-lib-247401:8177844")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

To get developer builds, see HammerLib wiki.

Changes:

  • 12.2.59 - Fix VariableShaderProgram's uniform cache being populated incorrectly and make default float values in the cache NaN, so regardless of what the first setUniform call will have - it will always go through.
  • 12.2.59 - Cleanup a lot of unused things, optimize VariableShaderProgram by using hash maps instead of dumb array maps, as well as reuse previous shader states for int1/float1 uniforms, reducing amount of GL calls when the data is the same.
  • [1.12.2] 12.2.58 | Fix shader NPEs caused by null values; Reset shader variable hasChanged state on upload.
  • [1.12.2] 12.2.57 | Prevent shaders from reloading during preInit (because some mods force a reload on preinit for... some reason); Actually query ShaderVar state and recompile shader program whenever variables change; Utility methods for ColoredLight.