HammerLib

Library used by all of DragonForge team's mods.
Back to Files

[1.12.2] HammerLib - 12.2.59

File nameHammerLib-1.12.2-12.2.59.jar
Uploader
ZeithZeith
Uploaded
May 31, 2026
Downloads
553
Size
2.4 MB
Mod Loaders
Forge
File ID
8177844
Type
R
Release
Supported game versions
  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:hammer-lib-247401:8177844")

Learn more about Curse Maven

What's new

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.

This mod has no additional files