net.minecraft.world.level.entity

public class EntitySectionStorage<T extends EntityAccess>

djf
net.minecraft.world.level.entity.EntitySectionStorage
net.minecraft.class_5573
net.minecraft.unmapped.C_pctdblhz
net.minecraft.world.entity.SectionedEntityCache
net.minecraft.world.entity.SectionedEntityCache
net.minecraft.src.C_141285_
net.minecraft.world.level.entity.EntitySectionStorage

Field summary

Modifier and TypeField
private final Class<T>
a
entityClass
field_27250
f_xmmetfpy
entityClass
entityClass
f_156850_
private final it.unimi.dsi.fastutil.longs.Long2ObjectFunction<Visibility>
b
intialSectionVisibility
field_27251
f_jqcmjuop
posToStatus
posToStatus
f_156851_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<EntitySection<T>>
c
sections
field_27252
f_pvwkmhca
trackingSections
trackingSections
f_156852_
private final it.unimi.dsi.fastutil.longs.LongSortedSet
d
sectionIds
field_27253
f_emesllhn
trackedPositions
trackedPositions
f_156853_

Constructor summary

ModifierConstructor
public (Class<T> entityClass, it.unimi.dsi.fastutil.longs.Long2ObjectFunction<Visibility> chunkStatusDiscriminator)

Method summary

Modifier and TypeMethod
public void
a(ehi arg0, aqn<dje<T>> arg1)
forEachAccessibleNonEmptySection(AABB arg0, AbortableIterationConsumer<EntitySection<T>> arg1)
method_31777(class_238 arg0, class_7927<class_5572<T>> arg1)
m_nrjurdxh(C_hbcjzgoe arg0, C_gibrwunu<C_kmnnyhyi<T>> arg1)
forEachInBox(Box box, LazyIterationConsumer<EntityTrackingSection<T>> consumer)
forEachInBox(Box box, AbortableIterationConsumer<EntityTrackingSection<T>> section)
m_188362_(C_3040_ p_261588_, C_260372_<C_141284_<T>> arg1)
public LongStream
a(long arg0)
getExistingSectionPositionsInChunk(long arg0)
method_31772(long arg0)
m_gntnvtcq(long arg0)
getSections(long chunkPos)
getSections(long chunkPos)
m_156861_(long arg0)
private it.unimi.dsi.fastutil.longs.LongSortedSet
a(int arg0, int arg1)
getChunkSections(int arg0, int arg1)
method_31771(int arg0, int arg1)
m_sdtrxdfa(int arg0, int arg1)
getSections(int chunkX, int chunkZ)
getSections(int chunkX, int chunkZ)
m_156858_(int p_156860_, int arg1)
public Stream<EntitySection<T>>
b(long arg0)
getExistingSectionsInChunk(long arg0)
method_31782(long arg0)
m_zjuiszhi(long arg0)
getTrackingSections(long chunkPos)
getTrackingSections(long chunkPos)
m_156888_(long arg0)
private static long
f(long arg0)
getChunkKeyFromSectionKey(long arg0)
method_31787(long arg0)
m_kwoztbdy(long arg0)
chunkPosFromSectionPos(long sectionPos)
chunkPosFromSectionPos(long sectionPos)
m_156899_(long p_156900_)
public EntitySection<T>
c(long arg0)
getOrCreateSection(long arg0)
method_31784(long arg0)
m_kggeomqy(long arg0)
getTrackingSection(long sectionPos)
getTrackingSection(long sectionPos)
m_156893_(long arg0)
public EntitySection<T>
d(long arg0)
getSection(long arg0)
method_31785(long arg0)
m_oyatqwlv(long arg0)
findTrackingSection(long sectionPos)
findTrackingSection(long sectionPos)
m_156895_(long arg0)
private EntitySection<T>
g(long arg0)
createSection(long arg0)
method_31788(long arg0)
m_bikinpec(long arg0)
addSection(long sectionPos)
addSection(long sectionPos)
m_156901_(long arg0)
public it.unimi.dsi.fastutil.longs.LongSet
a()
getAllChunksWithExistingSections()
method_31770()
m_ogrmhwwh()
getChunkPositions()
getChunkPositions()
m_156857_()
public void
b(ehi arg0, aqn<T> arg1)
getEntities(AABB arg0, AbortableIterationConsumer<T> arg1)
method_31783(class_238 arg0, class_7927<T> arg1)
m_dwrsback(C_hbcjzgoe arg0, C_gibrwunu<T> arg1)
forEachIntersects(Box box, LazyIterationConsumer<T> consumer)
forEachIntersection(Box box, AbortableIterationConsumer<T> consumer)
m_261111_(C_3040_ p_261992_, C_260372_<T> arg1)
public <U extends T> void
a(djh<T, U> arg0, ehi arg1, aqn<U> arg2)
getEntities(EntityTypeTest<T, U> arg0, AABB arg1, AbortableIterationConsumer<U> arg2)
method_31773(class_5575<T, U> arg0, class_238 arg1, class_7927<U> arg2)
m_rascyktu(C_ocpldaah<T, U> arg0, C_hbcjzgoe arg1, C_gibrwunu<U> arg2)
forEachIntersects(TypeFilter<T, U> filter, Box box, LazyIterationConsumer<U> consumer)
forEachIntersection(TypeFilter<T, U> filter, Box box, AbortableIterationConsumer<U> consumer)
m_261191_(C_141287_<T, U> p_261843_, C_3040_ p_261742_, C_260372_<U> arg2)
public void
e(long arg0)
remove(long arg0)
method_31786(long arg0)
m_yvmdusid(long arg0)
removeSection(long sectionPos)
removeSection(long sectionPos)
m_156897_(long arg0)
public int
b()
count()
method_31781()
m_pmrrmciy()
sectionCount()
sectionCount()
m_156887_()