haybale-ported
Haybale-ported is a Library mod that provides registration, networking and platform service helpers for other mods written against the Haybale code base.
What it does
The library is a port of the Haybale library originally written by CommodoreThrawn, carried over to Fabric, Forge and NeoForge for the 1.20.1 – 1.20.4 range. It was ported as part of work on StrawGolems and is intended for developers who build mods with the same structure.
Registration is handled through an annotation system that covers entities, items, particles and sounds, so a mod can declare these objects in code instead of registering each one by hand. A packet system and an entity capability system are included for server and client communication and per-entity data. Platform-sided services such as a server scheduler are provided so that code can run on the correct side without loader-specific calls.
Because it is a library, the mod has no in-game content of its own. It must be installed with Fabric API on Fabric, and it runs on client and server, so both the server and every player need it for dependent mods to work. Files are published for Fabric, Forge and NeoForge, and the code is open source under the GNU Affero General Public License v3.0 only.
Key features
Annotation-based registration
Entities, items, particles and sounds can be registered through annotations instead of manual registry calls.
Packet system
A packet system lets a mod send data between server and client through one set of classes.
Entity capability system
Per-entity data is attached through a capability system, so dependent mods can store extra state on entities.
Platform-sided services
Services such as a server scheduler give mod code a single interface across the supported loaders.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: The library is meant for mod developers who want to share one code base across Fabric, Forge and NeoForge and need the registration, networking and scheduling helpers it provides.
Questions
Does Haybale-ported need Fabric API?
Which loaders does Haybale-ported support?
Does the library have to be installed on both sides?
In the catalog
haybale-ported is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,907 mods support Minecraft 1.20.4.
More from HeroBrianMack
Similar mods
What the author says
This is an unofficial ported version of the Haybale library originally made my CommodoreThrawn. This is a library mod used in his projects, such as Straw Golem Rebaled. This library is being ported to allow for easier ports of their mods. If CommodoreThrawn would like to use this port officially or wants this port…
Official listing
- Modrinth page
- modrinth.com/mod/haybale-ported
- Owner
- HeroBrianMack
- Published
- 2025-04-05
- Updated on Modrinth
- 2025-07-01
- Facts verified
- 2026-10-15
