promotional bannermobile promotional banner

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.

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.

The BlockTrackerApi Team

profile avatar
  • 69
    Followers
  • 130
    Projects
  • 158.5M
    Downloads

唯假期与 Naruto 不可辜负。

More from _nArUTo_View all

  • Enchanted Potato project image

    Enchanted Potato

    • 60.5K
    • Mods

    Innovative combat enchantments, with more coming soon!

    • 60.5K
    • June 8, 2026
    • Mods
    • +1
  • DoesPotatoTick? project image

    DoesPotatoTick?

    • 13.0M
    • Mods

    performance mod that don‘t allow entities to tick when they are far from players.

    • 13.0M
    • June 7, 2026
    • Mods
    • +3
  • It Is Me project image

    It Is Me

    • 136
    • Mods

    Enhance entity visibility with clean outlines and improved shadow rendering.

    • 136
    • May 30, 2026
    • Mods
    • +2
  • Duplicationless project image

    Duplicationless

    • 1.7M
    • Mods

    A lightweight Minecraft library that simplifies JSON configs, block data storage, and entity tracking across chunks and dimensions.

    • 1.7M
    • May 21, 2026
    • Mods
  • Enchanted Potato project image

    Enchanted Potato

    • 60.5K
    • Mods

    Innovative combat enchantments, with more coming soon!

    • 60.5K
    • June 8, 2026
    • Mods
    • +1
  • DoesPotatoTick? project image

    DoesPotatoTick?

    • 13.0M
    • Mods

    performance mod that don‘t allow entities to tick when they are far from players.

    • 13.0M
    • June 7, 2026
    • Mods
    • +3
  • It Is Me project image

    It Is Me

    • 136
    • Mods

    Enhance entity visibility with clean outlines and improved shadow rendering.

    • 136
    • May 30, 2026
    • Mods
    • +2
  • Duplicationless project image

    Duplicationless

    • 1.7M
    • Mods

    A lightweight Minecraft library that simplifies JSON configs, block data storage, and entity tracking across chunks and dimensions.

    • 1.7M
    • May 21, 2026
    • Mods