ModsFinder

haybale-ported

by HeroBrianMack

Haybale-ported is a Library mod that provides registration, networking and platform service helpers for other mods written against the Haybale code base.

FabricForgeNeoForgeClient and serverGNU Affero General Public License v3.0 onlyOpen source1.20.1 – 1.20.4

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

  1. Annotation-based registration

    Entities, items, particles and sounds can be registered through annotations instead of manual registry calls.

  2. Packet system

    A packet system lets a mod send data between server and client through one set of classes.

  3. Entity capability system

    Per-entity data is attached through a capability system, so dependent mods can store extra state on entities.

  4. 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.

1.20.43.0.03.0.03.0.0
1.20.22.0.02.0.02.0.0
1.20.11.0.21.0.21.0.2
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

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?

Yes. Fabric API is listed as a required dependency for the Fabric build, and it must be installed alongside the library on Fabric.

Which loaders does Haybale-ported support?

Fabric, Forge and NeoForge. The latest 3.0.0 file for each loader targets 1.20.4, and files also cover 1.20.1 and 1.20.2.

Does the library have to be installed on both sides?

Yes. Servers that run it need every player to install it too.

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

All projects

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…
HeroBrianMack, on the Modrinth page

Official listing

Owner
HeroBrianMack
Published
2025-04-05
Updated on Modrinth
2025-07-01
Facts verified
2026-10-15

Tags