ModsFinder

PlayerAPI

by NoName_

For Fabric, PlayerAPI is a library that runs only on the client and gives other mods a high-level way to act as the player, look up world state and perform automated actions that resemble human input.

FabricClient-side onlyAll rights reserved1.21.11

What it does

Developers who build client mods can call PlayerAPI instead of writing their own low-level mixins for movement, inventory access and world queries. Rather than having each mod write its own low-level hooks, PlayerAPI serves as a common base: the same hooks are provided once, and mods can build player interaction, world lookups and automation on top of them.

PlayerAPI calls must be made on the main game thread. Its scheduler fires callbacks on that thread, and its events are built on Fabric's EventFactory.createArrayBacked pattern, so several mods can register listeners that all fire. The public events cover once-per-tick processing after the scheduler runs its due tasks, and chat handling for signed player messages, unsigned server messages and forwarded action bar messages.

The mod is required by Poseidon and needs YetAnotherConfigLib (YACL) at runtime. Mod Menu is optional. Files target only 1.21.11, with 1.8.0 as the latest Fabric build, published on 2026-05-07, after the first release on 2026-03-21. Source code is public, but the code is under All rights reserved, so it is not open source.

Key features

  1. High-level player API

    Movement, inventory and world queries are exposed through one interface that other mods can call.

  2. Human-like automation

    The API includes helpers for automated actions that resemble player input, for mods that drive the client.

  3. Tick and chat events

    Events fire once per game tick after the scheduler runs, and chat events cover signed player messages, unsigned server messages and action bar text.

  4. Scheduled tasks

    A scheduler runs queued callbacks on the main game thread, so calls made through it stay in sync with the game loop.

Compatibility

Latest build for each game version and loader.

1.21.111.8.0
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

YetAnotherConfigLib (YACL)A builder-based configuration library for Minecraft!
Required

Optional 1

Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional

Required by 1 mod

Use cases

Mod developers

Mods that need player interaction or world queries can depend on PlayerAPI instead of maintaining their own mixins.

Automation mods

Client mods that perform repeated actions can use the human-like automation calls and the forced action hooks.

Who it’s for: Mod developers building client-side Fabric features on 1.21.11, and players who run mods that depend on PlayerAPI.

Questions

Does PlayerAPI need YetAnotherConfigLib (YACL)?

Yes. YetAnotherConfigLib (YACL) is a required dependency and must be installed alongside PlayerAPI.

Does PlayerAPI have to be installed on the server?

No. It is installed on the player's side alone, so servers need nothing.

Which Minecraft version does PlayerAPI support?

Files are published for 1.21.11 only, with 1.8.0 as the latest Fabric build.

Which mod requires PlayerAPI?

Poseidon requires PlayerAPI, so players who use Poseidon need this library installed too.

In the catalog

PlayerAPI is one of 8,499 Technology mods on ModsFinder, and one of 4,201 Technology mods for Fabric. 19,862 mods support Minecraft 1.21.11.

More from NoName_

All projects

Similar mods

What the author says

A client-side Fabric library that exposes a clean, high-level API for player interaction, world querying, and human-like automation. Designed to be a shared foundation so other mods don't have to reimplement the same low-level mixins. PlayerAPI does nothing on its own. If you downloaded this, another mod you use…
NoName_, on the Modrinth page

Official listing

Owner
NoName_
Published
2026-03-21
Updated on Modrinth
2026-05-07
Facts verified
2026-10-15

Tags