Entity Logger
by mmfbmusic
Entity Logger writes nearby mob and player positions to a SQLite file in real time, so external tools can read the world state while the game runs.
What it does
The mod continuously scans the world and records entities in logs/minecraft/entities.db, a SQLite database with three tables: one for hostile mobs, one for players and one for world time. Each mob row holds its name, exact x, y and z coordinates, distance from the player, health and a UUID that identifies it across updates. Monsters near the player are logged, and the player's own position is tracked alongside other players in the area.
The data is meant for scripts that need live access to game state, such as automation bots, analytics tools or coordination between several players in a multiplayer session. Because the file is plain SQLite, any program that reads that format can query it. The mod runs on the client only, with Fabric API required, and is published for 1.21.8 alone. The code is under the MIT License, is open source, and the source and issue tracker are public.
Key features
Hostile mob logging
Hostile mobs within range are recorded with their name, coordinates, distance and health values.
Player tracking
Players in the area, including the local player, are written to their own table with position data.
World time table
A separate table keeps the current world time next to the entity data for time-based queries.
Stable entity IDs
Each entity carries a UUID, so the same mob can be matched across successive log updates.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Automation scripts
Bots and scripts can read the database to react to nearby hostile mobs without querying the game directly.
Multiplayer coordination
Groups can compare player positions and distances from a shared database during a session.
Who it’s for: Players and developers who build external tools, bots or analytics that need current entity positions and world time from a running client.
How it compares
Item Logger is client-side only and open source under the GNU General Public License v3.0 or later, with files for 1.20.5 – 1.21.7, so it covers an older range than Entity Logger. Cobblemon Battle Logger is a Fabric mod for 1.21.1 with the server required and the client optional, released under the MIT License and open source, so it logs battles rather than entity positions.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Entity Logger | Fabric | 1.21.8 | Client-side only | 2025-09-28 |
| Item Logger | Fabric | 1.20.5 – 1.21.7 | Client-side only | 2025-06-30 |
| Cobblemon Battle Logger | Fabric | 1.21.1 | Server required, client optional | 2025-03-05 |
Questions
Does Entity Logger need Fabric API?
Is Entity Logger needed on a server?
Where is the log file saved?
In the catalog
Entity Logger is one of 8,499 Technology mods on ModsFinder, and one of 4,201 Technology mods for Fabric. 17,695 mods support Minecraft 1.21.8.
Similar mods
What the author says
Real-time entity tracking and world state monitoring for Minecraft, optimized for bot automation and external tools. EntityLogger continuously monitors your Minecraft world and logs all relevant entity data to a fast SQLite database. Perfect for creating AI bots, automation scripts, or analytics tools that need…
Official listing
- Modrinth page
- modrinth.com/mod/entity-logger
- Owner
- mmfbmusic
- Published
- 2025-09-20
- Updated on Modrinth
- 2025-09-28
- Facts verified
- 2026-10-15
