Mate API
ModrinthA better Entity / Player API mod for Fabric.
18 downloads updated 22d ago
latest v1.0.0 Modrinth
Mate API
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.
Features
Entity API
- Get nearest entities
- Find entities in a radius
- Entity filtering
- Entity utility methods
- Entity builders
Player API
- Get nearest players
- Action bar utilities
- Chat utilities
- XP utilities
- Inventory utilities
Events
- Player Join Events
- Player Leave Events
- Entity Events
- Easy event registration
Builders
Spawn entities with clean, readable code:
MateEntityBuilder.create(EntityType.ZOMBIE)
.at(world, pos)
.named("Mate Zombie")
.spawn();
Example
PlayerUtils.sendActionBar(
player,
"Hello from Mate API!"
);
Why Mate API?
Mate API was created to simplify common entity and player tasks that many mods need.
Instead of writing the same utility code in every project, developers can use Mate API and focus on building their mods.

Comments 0
No comments yet. Be the first to share your thoughts.