Mineuniverse
Log in Register
Mods

EntityChunkData

An alternative of Level#getEntitiesOfClass to collect entities.
by _nArUTo_
Download Claim this project
537 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library

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-1.16.5-1.0.2
MC 1.16.5, Forge
Release 2025-10-03 Get
entitychunkdata-1.21.1-1.0.1
MC NeoForge, 1.21.1
Release 2025-10-03 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