Package net.minecraft.world.level.entity
Class TransientEntitySectionManager<T extends EntityAccess>
java.lang.Object
net.minecraft.world.level.entity.TransientEntitySectionManager<T>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) LevelCallback<T>
private LevelEntityGetter<T>
(package private) EntityLookup<T>
(package private) static org.apache.logging.log4j.Logger
(package private) EntitySectionStorage<T>
private it.unimi.dsi.fastutil.longs.LongSet
-
Constructor Summary
ConstructorDescriptionTransientEntitySectionManager(Class<T> p_157643_, LevelCallback<T> p_157644_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
count()
(package private) void
removeSectionIfEmpty(long p_157649_, EntitySection<T> p_157650_)
void
startTicking(ChunkPos p_157652_)
void
stopTicking(ChunkPos p_157659_)
-
Field Details
-
LOGGER
static final org.apache.logging.log4j.Logger LOGGER -
callbacks
-
entityStorage
-
sectionStorage
-
tickingChunks
private final it.unimi.dsi.fastutil.longs.LongSet tickingChunks -
entityGetter
-
-
Constructor Details
-
TransientEntitySectionManager
-
-
Method Details
-
startTicking
-
stopTicking
-
getEntityGetter
-
addEntity
-
count
public int count() -
removeSectionIfEmpty
-
gatherStats
-