net.minecraft.world.level.entity

public class PersistentEntitySectionManager<T extends EntityAccess>

implements AutoCloseable

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

Field summary

Modifier and TypeField
static final org.apache.logging.log4j.Logger
a
LOGGER
field_27260
f_diewhmbw
LOGGER
f_157490_
final Set<UUID>
b
knownUuids
field_27261
f_abjrqcrg
entityUuids
f_157491_
final LevelCallback<T>
c
callbacks
field_27262
f_estuhvio
handler
f_157492_
private final EntityPersistentStorage<T>
d
permanentStorage
field_27263
f_jyyozchw
dataAccess
f_157493_
private final EntityLookup<T>
e
visibleEntityStorage
field_27264
f_yubftinj
index
f_157494_
final EntitySectionStorage<T>
f
sectionStorage
field_27265
f_nmekxqpg
cache
f_157495_
private final LevelEntityGetter<T>
g
entityGetter
field_27266
f_qudcokdm
lookup
f_157496_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Visibility>
h
chunkVisibility
field_27267
f_orppfqjr
trackingStatuses
f_157497_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<PersistentEntitySectionManager$ChunkLoadStatus>
i
chunkLoadStatuses
field_27268
f_tjczwahe
managedStatuses
f_157498_
private final it.unimi.dsi.fastutil.longs.LongSet
j
chunksToUnload
field_27269
f_oqidhiag
pendingUnloads
f_157499_
private final Queue<ChunkEntities<T>>
k
loadingInbox
field_27270
f_rgylyrkq
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, crs<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)
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)
m_157557_(T arg0)
public boolean
a(T arg0)
addNewEntity(T arg0)
method_31818(T arg0)
m_cgklqzuy(T arg0)
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)
m_157538_(T p_157540_, boolean arg1)
static <T extends EntityAccess> Visibility
a(T arg0, csb 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)
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)
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)
m_157559_(Stream<T> arg0)
void
c(T arg0)
startTicking(T arg0)
method_31838(T arg0)
m_luqarebk(T arg0)
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)
m_157570_(T arg0)
void
e(T arg0)
startTracking(T arg0)
method_31847(T arg0)
m_tqicuzto(T arg0)
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)
m_157580_(T arg0)
public void
a(bzk arg0, acu$c arg1)
updateChunkStatus(ChunkPos arg0, ChunkHolder$FullChunkStatus arg1)
method_31815(class_1923 arg0, class_3193$class_3194 arg1)
m_qocaipzt(C_ynrszrtu arg0, C_gkderdjo$C_yzdkhkui arg1)
updateTrackingStatus(ChunkPos chunkPos, ChunkHolder$LevelType levelType)
m_157524_(C_1560_ p_157526_, C_5422_$C_5426_ arg1)
public void
a(bzk arg0, csb 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)
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)
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)
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)
m_157562_(long arg0)
private boolean
d(long arg0)
processChunkUnload(long arg0)
method_31837(long arg0)
m_ewrzwpim(long arg0)
unload(long chunkPos)
m_157568_(long arg0)
private void
g(cro arg0)
unloadEntity(EntityAccess arg0)
method_31852(class_5568 arg0)
m_krwfnctz(C_sncvekqg arg0)
unload(EntityLike entity)
m_157585_(C_141279_ arg0)
private void
f()
processUnloads()
method_31851()
m_ednsyasl()
unloadChunks()
m_157577_()
private void
g()
processPendingLoads()
method_31853()
m_bxydndmv()
loadChunks()
m_157582_()
public void
a()
tick()
method_31809()
m_qzxrpkkf()
tick()
m_157506_()
private it.unimi.dsi.fastutil.longs.LongSet
h()
getAllChunksToSave()
method_31855()
m_mntmlaiv()
getLoadedChunks()
m_157587_()
public void
b()
autoSave()
method_31829()
m_rddhigij()
save()
m_157554_()
public void
c()
saveAll()
method_31836()
m_wefnsylf()
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)
m_157550_(UUID arg0)
public LevelEntityGetter<T>
d()
getEntityGetter()
method_31841()
m_vnymsiap()
getLookup()
m_157567_()
public boolean
a(gh arg0)
isPositionTicking(BlockPos arg0)
method_37254(class_2338 arg0)
m_vzgiixyd(C_hynzadkk arg0)
shouldTick(BlockPos pos)
m_157546_(C_4675_ arg0)
public boolean
a(bzk arg0)
isPositionTicking(ChunkPos arg0)
method_37253(class_1923 arg0)
m_kbdhlrqm(C_ynrszrtu arg0)
shouldTick(ChunkPos pos)
m_157522_(C_1560_ arg0)
public boolean
a(long arg0)
areEntitiesLoaded(long arg0)
method_37252(long arg0)
m_dlzywvdc(long arg0)
isLoaded(long chunkPos)
m_157507_(long arg0)
public void
a(Writer arg0)
dumpSections(Writer arg0)
method_31826(Writer arg0)
m_sjqubzkk(Writer arg0)
dump(Writer writer)
m_157548_(Writer arg0)
public String
e()
gatherStats()
method_31845()
m_srrueovk()
getDebugString()
m_157572_()