Mineuniverse
Log in Register
Mods

BlockTrackerApi

This API provides a comprehensive block tracking system for Minecraft mods, enabling efficient monitoring, storage, and querying of specific block positions across dimensions with configurable world-generation and conditional rules.
by _nArUTo_
Download Claim this project
204 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library Server Utility

BlockTracker

BlockTracker is a powerful Minecraft lib that provides a comprehensive API for tracking and monitoring specific blocks across your world. Designed primarily for mod developers, it offers efficient block position storage, retrieval, and event handling with minimal performance impact.

Key Features

  • Multi-Dimensional Tracking - Monitor blocks across all dimensions and chunks
  • Smart Filtering - Configurable rules for world generation and conditional tracking
  • Thread-Safe Operations - Built-in protection for server thread safety
  • High Performance - Optimized data structures using FastUtil for minimal overhead
  • Persistent Storage - Automatically saves and loads tracked block data
  • Flexible Query System - Multiple methods to retrieve tracked blocks by chunk, radius, or dimension

For Mod Developers

Easy Integration

// Track blocks with custom conditions
// Recommended init place: ServerAboutToStartEvent
BlockTrackerApi.trackBlock(Blocks.BEACON, true, block -> {
    return customConditionCheck(block);
});

Multiple Query Options

// Get blocks in specific chunk
LongSet blocks = BlockTrackerApi.getTrackedBlocks(level, chunkPos, Blocks.BEACON);

// Get blocks in area around position
ObjectList<LongSet> areaBlocks = BlockTrackerApi.getTrackedBlocks(level, centerPos, 3, Blocks.BEACON);

Note: This mod is primarily intended for developers. End-users will need mods that implement BlockTracker API to see its benefits.

blocktracker-1.19.2-1.0.0
MC 1.19.2, Forge
Release 2025-10-02 Get
blocktracker-1.21.1-1.0.0
MC NeoForge, 1.21.1
Release 2025-10-02 Get

More from _nArUTo_

ServerTickReforged
93,265
Starks
918
Rage Mod
9,134
EmptiableBoxes
91
Camel Extend
906
PeaceCampfire
904

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314