Download EntityChunkData — Minecraft Mods — MetaMods

EntityChunkData

Active

Downloads

0

Last update

2 months ago
Client
Libraries

EntityChunkData

This modification creates a dynamic data structure that tracks all entities during their loading process. Instead of using the standard Level#getEntitiesOfClass method for collecting entity information, the mod maintains a special map in the format of <Dimension ID, Map<Chunk Position, Set of Entity UUIDs>>.

API

The core data element is EntitiesInChunkData#ENTITIES:

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

Important Information

Entity removal and addition operations are executed only after the server tick completes.

Project members
pOtAto__bOy

pOtAto__bOy

Created: 3 Aug 2025

ID: 259219