HomeJavaModsEntity Logger
Entity Logger
Entity Logger — screenshot 1Entity Logger — screenshot 2Entity Logger — screenshot 3Entity Logger — screenshot 4

EntityLogger

Real-time entity tracking and world state monitoring for Minecraft, optimized for bot automation and external tools.

📊 What does this mod do?

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 real-time access to game state information.

✨ Key Features

🎯 Three Organized Data Tables

1. Monster Tracking (monsters table)

2. Player Tracking (players table)

3. World State (world_time table)

⚡ Performance Optimized

🤖 Perfect for Bot Scripts

The mod is specifically designed for automation:

📦 What’s Included

The mod automatically creates logs/minecraft_entities.db with three simple tables:

-- Example: Get nearest monsters
SELECT name, x, y, z, distance_to_player 
FROM monsters 
ORDER BY distance_to_player ASC 
LIMIT 5;

-- Example: Find all players
SELECT name, x, y, z FROM players;

-- Example: Current game time
SELECT game_day, game_ticks, moon_phase 
FROM world_time WHERE id = 1;

🎮 Use Cases

🔧 Technical Details

Requirements

📋 Monster List

Tracks all hostile mobs including:

🚀 Getting Started

  1. Install Fabric Loader for Minecraft 1.21.8
  2. Download and install Fabric API 0.133.4+1.21.8
  3. Drop EntityLogger into your mods folder
  4. Launch Minecraft
  5. Find the database at logs/minecraft_entities.db
  6. Start building your automation scripts!

💻 Example Python Integration

import sqlite3
import time

# Connect to the database
conn = sqlite3.connect('logs/minecraft_entities.db')
cursor = conn.cursor()

while True:
    # Get nearest monster
    cursor.execute("""
        SELECT name, distance_to_player 
        FROM monsters 
        ORDER BY distance_to_player ASC 
        LIMIT 1
    """)
    result = cursor.fetchone()
    
    if result:
        print(f"Warning! {result[0]} at {result[1]:.1f} blocks away!")
    
    time.sleep(0.5)  # Check twice per second

🤝 Community & Support

This mod is open for feature requests! If you’re building automation tools and need additional data logged, feel free to suggest improvements.


License: MIT
Supports: Minecraft 1.21.8 (Fabric)
Dependencies: Fabric API 0.133.4+1.21.8 (Required)
Java: 17+

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