HomeJavaModsMate API
Mate API

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

Player API

Events

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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more