promotional bannermobile promotional banner

EntityChunkData

An alternative of Level#getEntitiesOfClass to collect entities.

EntityChunkData

This mod maintains a dynamic <DimensionID, Map<ChunkPosition, Set<EntityUUID>>> map in loading entities lifecycle, which is an alternative of Level#getEntitiesOfClass that help collect entities.

Api

EntitiesInChunkData#ENTITIES is the core data:

public static final Map<ResourceLocation, Map<ChunkPos, Set<UUID>>> ENTITIES = new ConcurrentHashMap<>();

Note

removeEntity and addEntity operations won't execute until a server tick ends.

EntityChunkData Team

profile avatar
  • 73
    Followers
  • 135
    Projects
  • 177.8M
    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.

    • 8
    • October 23, 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.

    • 8
    • October 23, 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