net.minecraft.world.level.entity

public class PersistentEntitySectionManager<T extends EntityAccess>

implements AutoCloseable

djl
net.minecraft.world.level.entity.PersistentEntitySectionManager
net.minecraft.class_5579
net.minecraft.unmapped.C_jdbhctxz
net.minecraft.server.world.ServerEntityManager
net.minecraft.server.world.ServerEntityManager
net.minecraft.src.C_141295_
net.minecraft.world.level.entity.PersistentEntitySectionManager

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_27260
f_diewhmbw
LOGGER
LOGGER
f_157490_
final Set<UUID>
b
knownUuids
field_27261
f_abjrqcrg
entityUuids
entityUuids
f_157491_
final LevelCallback<T>
c
callbacks
field_27262
f_estuhvio
handler
handler
f_157492_
private final EntityPersistentStorage<T>
d
permanentStorage
field_27263
f_jyyozchw
dataAccess
dataAccess
f_157493_
private final EntityLookup<T>
e
visibleEntityStorage
field_27264
f_yubftinj
index
index
f_157494_
final EntitySectionStorage<T>
f
sectionStorage
field_27265
f_nmekxqpg
cache
cache
f_157495_
private final LevelEntityGetter<T>
g
entityGetter
field_27266
f_qudcokdm
lookup
lookup
f_157496_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Visibility>
h
chunkVisibility
field_27267
f_orppfqjr
trackingStatuses
trackingStatuses
f_157497_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<PersistentEntitySectionManager$ChunkLoadStatus>
i
chunkLoadStatuses
field_27268
f_tjczwahe
managedStatuses
managedStatuses
f_157498_
private final it.unimi.dsi.fastutil.longs.LongSet
j
chunksToUnload
field_27269
f_oqidhiag
pendingUnloads
pendingUnloads
f_157499_
private final Queue<ChunkEntities<T>>
k
loadingInbox
field_27270
f_rgylyrkq
loadingQueue
loadingQueue
f_157500_

Constructor summary

ModifierConstructor
public (Class<T> entityClass, LevelCallback<T> handler, EntityPersistentStorage<T> dataAccess)

Method summary

Modifier and TypeMethod
void
a(long arg0, dje<T> arg1)
removeSectionIfEmpty(long arg0, EntitySection<T> arg1)
method_31811(long arg0, class_5572<T> arg1)
m_gpewtxwc(long arg0, C_kmnnyhyi<T> arg1)
entityLeftSection(long sectionPos, EntityTrackingSection<T> section)
entityLeftSection(long sectionPos, EntityTrackingSection<T> section)
m_157509_(long p_157511_, C_141284_<T> arg1)
private boolean
b(T arg0)
addEntityUuid(T arg0)
method_31831(T arg0)
m_quvdwpcr(T arg0)
addEntityUuid(T entity)
addEntityUuid(T entity)
m_157557_(T arg0)
public boolean
a(T arg0)
addNewEntity(T arg0)
method_31818(T arg0)
m_cgklqzuy(T arg0)
addEntity(T entity)
addEntity(T entity)
m_157533_(T arg0)
private boolean
a(T arg0, boolean arg1)
addEntity(T arg0, boolean arg1)
method_31820(T arg0, boolean arg1)
m_qqvwphac(T arg0, boolean arg1)
addEntity(T entity, boolean existing)
addEntity(T entity, boolean existing)
m_157538_(T p_157540_, boolean arg1)
static <T extends EntityAccess> Visibility
a(T arg0, djn arg1)
getEffectiveStatus(T arg0, Visibility arg1)
method_31832(T arg0, class_5584 arg1)
m_gguqlrrj(T arg0, C_blgonjzp arg1)
getNeededLoadStatus(T entity, EntityTrackingStatus current)
getNeededLoadStatus(T entity, EntityTrackingStatus current)
m_157535_(T p_157536_, C_141300_ p_157537_)
public void
a(Stream<T> arg0)
addLegacyChunkEntities(Stream<T> arg0)
method_31828(Stream<T> arg0)
m_yrlpmtwi(Stream<T> arg0)
loadEntities(Stream<T> entities)
loadEntities(Stream<T> entities)
m_157552_(Stream<T> arg0)
public void
b(Stream<T> arg0)
addWorldGenChunkEntities(Stream<T> arg0)
method_31835(Stream<T> arg0)
m_mehcaqrk(Stream<T> arg0)
addEntities(Stream<T> entities)
addEntities(Stream<T> entities)
m_157559_(Stream<T> arg0)
void
c(T arg0)
startTicking(T arg0)
method_31838(T arg0)
m_luqarebk(T arg0)
startTicking(T entity)
startTicking(T entity)
m_157564_(T arg0)
void
d(T arg0)
stopTicking(T arg0)
method_31843(T arg0)
m_oqwcqrpd(T arg0)
stopTicking(T entity)
stopTicking(T entity)
m_157570_(T arg0)
void
e(T arg0)
startTracking(T arg0)
method_31847(T arg0)
m_tqicuzto(T arg0)
startTracking(T entity)
startTracking(T entity)
m_157575_(T arg0)
void
f(T arg0)
stopTracking(T arg0)
method_31850(T arg0)
m_pmkgmadj(T arg0)
stopTracking(T entity)
stopTracking(T entity)
m_157580_(T arg0)
public void
a(cpc arg0, akj arg1)
updateChunkStatus(ChunkPos arg0, FullChunkStatus arg1)
method_31815(class_1923 arg0, class_3194 arg1)
m_sklsqhvo(C_ynrszrtu arg0, C_whqcauvq arg1)
updateTrackingStatus(ChunkPos chunkPos, ChunkLevelType levelType)
updateTrackingStatus(ChunkPos pos, ChunkLoadStatus status)
m_287207_(C_1560_ p_287623_, C_286921_ arg1)
public void
a(cpc arg0, djn arg1)
updateChunkStatus(ChunkPos arg0, Visibility arg1)
method_31816(class_1923 arg0, class_5584 arg1)
m_zamsnjdu(C_ynrszrtu arg0, C_blgonjzp arg1)
updateTrackingStatus(ChunkPos chunkPos, EntityTrackingStatus trackingStatus)
updateTrackingStatus(ChunkPos chunkPos, EntityTrackingStatus trackingStatus)
m_157527_(C_1560_ p_157529_, C_141300_ arg1)
private void
b(long arg0)
ensureChunkQueuedForLoad(long arg0)
method_31810(long arg0)
m_yukibllm(long arg0)
readIfFresh(long chunkPos)
readIfFresh(long chunkPos)
m_157555_(long arg0)
private boolean
a(long arg0, Consumer<T> arg1)
storeChunkSections(long arg0, Consumer<T> arg1)
method_31812(long arg0, Consumer<T> arg1)
m_hstguevf(long arg0, Consumer<T> arg1)
trySave(long chunkPos, Consumer<T> action)
trySave(long chunkPos, Consumer<T> action)
m_157512_(long p_157514_, Consumer<T> arg1)
private void
c(long arg0)
requestChunkLoad(long arg0)
method_31830(long arg0)
m_psgpvmew(long arg0)
scheduleRead(long chunkPos)
scheduleRead(long chunkPos)
m_157562_(long arg0)
private boolean
d(long arg0)
processChunkUnload(long arg0)
method_31837(long arg0)
m_ewrzwpim(long arg0)
unload(long chunkPos)
unload(long chunkPos)
m_157568_(long arg0)
private void
g(dja arg0)
unloadEntity(EntityAccess arg0)
method_31852(class_5568 arg0)
m_krwfnctz(C_sncvekqg arg0)
unload(EntityLike entity)
unload(EntityLike entity)
m_157585_(C_141279_ arg0)
private void
f()
processUnloads()
method_31851()
m_ednsyasl()
unloadChunks()
unloadChunks()
m_157577_()
private void
g()
processPendingLoads()
method_31853()
m_bxydndmv()
loadChunks()
loadChunks()
m_157582_()
public void
a()
tick()
method_31809()
m_qzxrpkkf()
tick()
tick()
m_157506_()
private it.unimi.dsi.fastutil.longs.LongSet
h()
getAllChunksToSave()
method_31855()
m_mntmlaiv()
getLoadedChunks()
getLoadedChunks()
m_157587_()
public void
b()
autoSave()
method_31829()
m_rddhigij()
save()
save()
m_157554_()
public void
c()
saveAll()
method_31836()
m_wefnsylf()
flush()
flush()
m_157561_()
public void
close()
close()
close()
public boolean
a(UUID arg0)
isLoaded(UUID arg0)
method_31827(UUID arg0)
m_pdxmjlek(UUID arg0)
has(UUID uuid)
has(UUID uuid)
m_157550_(UUID arg0)
public LevelEntityGetter<T>
d()
getEntityGetter()
method_31841()
m_vnymsiap()
getLookup()
getLookup()
m_157567_()
public boolean
a(gw arg0)
canPositionTick(BlockPos arg0)
method_40022(class_2338 arg0)
m_yqtqmwni(C_hynzadkk arg0)
shouldTick(BlockPos pos)
shouldTick(BlockPos pos)
m_202167_(C_4675_ arg0)
public boolean
a(cpc arg0)
canPositionTick(ChunkPos arg0)
method_40021(class_1923 arg0)
m_dvokcymf(C_ynrszrtu arg0)
shouldTick(ChunkPos pos)
shouldTick(ChunkPos pos)
m_202165_(C_1560_ arg0)
public boolean
a(long arg0)
areEntitiesLoaded(long arg0)
method_37252(long arg0)
m_dlzywvdc(long arg0)
isLoaded(long chunkPos)
isLoaded(long pos)
m_157507_(long arg0)
public void
a(Writer arg0)
dumpSections(Writer arg0)
method_31826(Writer arg0)
m_sjqubzkk(Writer arg0)
dump(Writer writer)
dump(Writer writer)
m_157548_(Writer arg0)
public String
e()
gatherStats()
method_31845()
m_srrueovk()
getDebugString()
getDebugString()
m_157572_()