net.minecraft.world

public class ChunkSectionCache

implements AutoCloseable

net.minecraft.world.level.chunk.BulkSectionAccess
net.minecraft.class_5867
net.minecraft.world.ChunkSectionCache

Field summary

Modifier and TypeField
private final WorldAccess
level
field_29037
world
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<ChunkSection>
acquiredSections
field_29038
cache
private ChunkSection
lastSection
field_29039
cachedSection
private long
lastSectionKey
field_29040
sectionPos

Constructor summary

ModifierConstructor
public (WorldAccess world)

Method summary

Modifier and TypeMethod
public ChunkSection
getSection(BlockPos pos)
method_33944(class_2338 arg0)
getSection(BlockPos pos)
public BlockState
getBlockState(BlockPos pos)
method_33946(class_2338 arg0)
getBlockState(BlockPos pos)
public void
close()
private ChunkSection
lambda$getSection$0(BlockPos arg0, int arg1, long arg2)
method_33945(class_2338 arg0, int arg1, long arg2)
method_33945(BlockPos arg0, int arg1, long arg2)