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.

BlockTrackerApi Team

profile avatar
  • 73
    Followers
  • 135
    Projects
  • 177.9M
    Downloads

唯假期与 Naruto 不可辜负。

More from _nArUTo_View all

  • NarutoOverlay project image

    NarutoOverlay

    An fps/gc/memory information display client mod, into which I poured my deep love for Uzumaki Naruto.

    • 15
    • October 25, 2026
  • PickColorApi project image

    PickColorApi

    A lightweight Minecraft API for easy color selection with an interactive color wheel, brightness control, and RGBA input.

    • 56
    • October 22, 2026
  • EconEnch project image

    EconEnch

    Preserves enchantments that aren't transferred when combining items in an anvil, reducing wasted enchantments.

    • 45
    • October 15, 2026
  • GuyMisstep project image

    GuyMisstep

    GuyMisstep makes suspended sand blocks fall immediately when players get close, ensuring no floating sand glitches and enhancing game realism.

    • 1.9K
    • October 14, 2026
  • NarutoOverlay project image

    NarutoOverlay

    An fps/gc/memory information display client mod, into which I poured my deep love for Uzumaki Naruto.

    • 15
    • October 25, 2026
  • PickColorApi project image

    PickColorApi

    A lightweight Minecraft API for easy color selection with an interactive color wheel, brightness control, and RGBA input.

    • 56
    • October 22, 2026
  • EconEnch project image

    EconEnch

    Preserves enchantments that aren't transferred when combining items in an anvil, reducing wasted enchantments.

    • 45
    • October 15, 2026
  • GuyMisstep project image

    GuyMisstep

    GuyMisstep makes suspended sand blocks fall immediately when players get close, ensuring no floating sand glitches and enhancing game realism.

    • 1.9K
    • October 14, 2026