Skip to content

HookLib 3.17 for Minecraft 1.12.2 (Forge)

ReleaseApril 13, 2025Minecraft 1.12.2Forge290 downloads on Modrinth
This isn't the latest version. The latest for 1.12.2 · Forge is 3.28Open 3.28 →

Files · 1

hooklib-3.17.jarPrimary309 KBDownload ↗
Primary · 309 KB
SHA-163374c6bdd2dfb74dc1603e7c6940e2126612041SHA-512033a5964d15e6702f777abb195bbafd4258d01ef85485b118e28f3d56d71aca946678dacd5c612d3edd63ab3b3e235cb258eb7118c9cd37d0f8eaad6ba7cd0f3
Download ↗

What's changed

  • consider @SideOnly-marked hooks
  • added lenses for accessing methods
  • field lenses:

    • added support for static fields
    • added way to work with primitive fields
    • added way to define default value of created field
    • fix field creation with no FieldLens#createField turned to true
    • consider obfuscation of field names
  • hooklib keep self as last applicable transformer
  • added feature of class dumping which changed by hooklib
  • jars with hooks will be added to classpath like regular coremods
  • added logging to separate file
  • added feature of multiple ordinal's in one hook
  • make @OnMethodCall with shift=INSTEAD more safe with type checks of replaced

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More

HookLib 3.17 for Minecraft 1.12.2 (Forge) — download — battlemetrics.ru