promotional bannermobile promotional banner

HookLib

Framework for coremods

File Details

hooklib 3.26

  • R
  • Nov 23, 2025
  • 368.19 KB
  • 464
  • 1.12.2
  • Forge

File Name

hooklib-3.26.jar

Supported Versions

  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:hooklib-1001572:7251783")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

  • added way to access private classes
  • optimized search of suitable hooks for method
  • support cases of FieldAccessor.defaultValue when value type is subclass of field type
    example:
  • hybrid mappings support: stable_39 and snaphot_20171003
  • support for multiple hook application, as example mixins can run transformers twice for same target class
  • improve printing of hook when fail to inject
  • @OnExpression with Shift.INSTED really replace found code