Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
HookLib

HookLib

Framework for coremods

142
0
Library

Compatibility

Minecraft: Java Edition

1.12.2

Platforms

Forge

Supported environments

Client-side
Server-side
Client and server (optional)

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki

Creators

hohserg
hohserg Member

Details

Licensed MIT
Published 7 months ago
Updated 2 months ago
DescriptionChangelogVersions

hooklib 3.17

by hohserg on Apr 13, 2025
Download
  • 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

hooklib 3.7

by hohserg on Nov 25, 2024
Download

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.