HammerLib - Universal Library for Mod Developers

Powerful Toolkit for Minecraft Mod Development
HammerLib is a comprehensive library that significantly simplifies the process of developing Minecraft mods. This tool contains numerous useful functions and utilities that save developers time and make code more readable and maintainable.
Key Features
Simplified Content Registration
- Annotation-based system for registering blocks, items, and other elements
- Automatic BlockItem registration for blocks with the ability to disable through INoItemBlock, ICustomBlockItem, or ICreativeTabBlock interfaces
- BlockEntity rendering configuration through @TileRenderer annotation
Localization System
Support for classic language file format "key=value" instead of JSON, which simplifies localization work for developers accustomed to older game versions.
Security and Checks
- Mod source verification to detect downloads from malicious sites
- User notifications about potentially dangerous sources
Recipe and Tag Registration
- Java-based crafting registration system through RegisterRecipesEvent
- Simplified tag population using BuildTagsEvent
Networking
Intuitive packet handling system through Network class and IPacket + INBTPacket interfaces, significantly simplifying network code development.
Additional Features
- Block harvesting adapters through tags (BlockHarvestAdapter)
- Automatic NBT serialization based on class fields
- TileEntity wrappers with state synchronization
- API for working with BlockEntity containers without MenuType registration
- Texture color extraction system from ItemStack
- Annotation-based custom model loading system
Technical Features
The library uses modern development approaches, providing developers with powerful tools for creating high-quality mods. All events work through HammerLib.EVENT_BUS, ensuring clear code organization.
Compatibility and Support
The library supports only the latest versions of Minecraft for which it was released. Developers focus on supporting current game versions.
Join the developer community and follow the updates!
