Mate API
by DemoDev
Mate API is a Fabric library that gives developers simple helpers for entities, players, events and builders, cutting down the boilerplate code that many mods repeat.
What it does
The library covers common entity and player tasks. Developers can find the nearest entities or players, search for entities inside a radius, and filter results with a chain of conditions. Entity utility methods and entity builders are included, along with helpers for sending action bar and chat messages.
Mate API is meant for mod developers who would otherwise write the same utility code in every project. Using it lets them focus on the features of their own mod. Either side can load the library, and neither needs it. Files are published for Fabric only, for 11 release versions 1.21.1 – 1.21.11, with 1.0.0 for 1.21.11 as the latest file. The code is released under the MIT License and is not open source.
Key features
Nearest entity lookup
Find the closest entities or players to a given position without writing a manual search loop.
Radius search
Collect entities within a set distance of a point, then narrow the results with filtering.
Entity builders
Build entity-related objects step by step through a builder API instead of repeating setup code.
Action bar and chat helpers
Send messages to the action bar or chat through short utility calls.
Compatibility
Latest build for each game version and loader.
1.21.x11 of 11 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Trashlib is a Fabric and NeoForge library for 1.21.4, client and server, under the MIT License and open source. CraftLib is a Fabric library for 1.21 – 1.21.11 that runs on the client only, open source under the MIT License. Kielson's API is a Fabric library for 1.21 – 26.2, client and server, open source under the MIT License, so it covers a longer version range than Mate API.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Mate API | Fabric | 1.21.1 – 1.21.11 | Client or server, optional | 2026-05-30 |
| Trashlib | Fabric and NeoForge | 1.21.4 | Client and server | 2025-06-22 |
| CraftLib | Fabric | 1.21 – 1.21.11 | Client-side only | 2026-02-18 |
| Kielson's API | Fabric | 1.21 – 26.2 | Client and server | 2026-08-06 |
Questions
Does a mod that uses Mate API need Fabric?
Does Mate API have to be installed on the server?
Which game versions does Mate API support?
In the catalog
Mate API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from DemoDev
Similar mods
What the author says
A better Entity and Player API for Minecraft Fabric 1.21.1. Mate API provides simple utilities, events, and builders for working with entities and players. It is designed to make mod development easier by reducing boilerplate code and providing a clean, developer-friendly API.
Official listing
- Modrinth page
- modrinth.com/mod/mate-api
- Owner
- DemoDev
- Published
- 2026-05-30
- Updated on Modrinth
- 2026-05-30
- Facts verified
- 2026-10-15
