net.minecraft.world.level.chunk

public class ProtoChunk

implements ChunkAccess

cgm
net.minecraft.world.level.chunk.ProtoChunk
net.minecraft.class_2839
net.minecraft.world.chunk.ProtoChunk
net.minecraft.world.chunk.ChunkPrimer
net.minecraft.server.v1_16_R2.ProtoChunk

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_12920
LOGGER
field_201653_a
private final ChunkPos
b
chunkPos
field_12928
pos
field_201654_b
private volatile boolean
c
isDirty
field_12924
shouldSave
field_201655_c
private ChunkBiomeContainer
d
biomes
field_20656
biomes
field_201656_d
private volatile LevelLightEngine
e
lightEngine
field_17105
lightingProvider
field_217334_e
private final Map<Heightmap$Types, Heightmap>
f
heightmaps
field_12912
heightmaps
field_201657_e
private volatile ChunkStatus
g
status
field_12918
status
field_201658_f
private final Map<BlockPos, BlockEntity>
h
blockEntities
field_12917
blockEntities
field_201659_g
private final Map<BlockPos, CompoundTag>
i
blockEntityNbts
field_12927
blockEntityTags
field_201660_h
private final LevelChunkSection[]
j
sections
field_12909
sections
field_201661_i
private final List<CompoundTag>
k
entities
field_12929
entities
field_201662_j
private final List<BlockPos>
l
lights
field_12919
lightSources
field_201663_k
private final it.unimi.dsi.fastutil.shorts.ShortList[]
m
postProcessing
field_12921
postProcessingLists
field_201665_m
private final Map<StructureFeature<?>, StructureStart<?>>
n
structureStarts
field_12915
structureStarts
field_201666_n
private final Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet>
o
structuresRefences
field_12930
structureReferences
field_201667_o
private final UpgradeData
p
upgradeData
field_12916
upgradeData
field_201668_p
private final ProtoTickList<Block>
q
blockTicks
field_12911
blockTickScheduler
field_201664_l
private final ProtoTickList<Fluid>
r
liquidTicks
field_12923
fluidTickScheduler
field_205333_q
private long
s
inhabitedTime
field_12925
inhabitedTime
field_209217_s
private final Map<GenerationStep$Carving, BitSet>
t
carvingMasks
field_12926
carvingMasks
field_205769_s
private volatile boolean
u
isLightCorrect
field_12914
lightOn
field_217335_u

Constructor summary

ModifierConstructor
public (ChunkPos pos, UpgradeData upgradeData)
public (ChunkPos pos, UpgradeData upgradeData, LevelChunkSection[] sections, ProtoTickList<Block> blockTickScheduler, ProtoTickList<Fluid> fluidTickScheduler)

Method summary

Modifier and TypeMethod
public BlockState
d_(fx arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos arg0)
func_180495_p(BlockPos arg0)
getType(BlockPosition arg0)
public FluidState
b(fx arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
getFluidState(BlockPos arg0)
func_204610_c(BlockPos arg0)
getFluid(BlockPosition arg0)
public Stream<BlockPos>
m()
getLights()
method_12018()
getLightSourcesStream()
func_217304_m()
public it.unimi.dsi.fastutil.shorts.ShortList[]
w()
getPackedLights()
method_12296()
getLightSourcesBySection()
func_201647_i()
public void
b(short arg0, int arg1)
addLight(short arg0, int arg1)
method_12304(short arg0, int arg1)
addLightSource(short chunkSliceRel, int sectionY)
func_201646_a(short arg0, int arg1)
public void
k(fx arg0)
addLight(BlockPos arg0)
method_12315(class_2338 arg0)
addLightSource(BlockPos pos)
func_201637_h(BlockPos arg0)
public BlockState
a(fx arg0, cee arg1, boolean arg2)
setBlockState(BlockPos arg0, BlockState arg1, boolean arg2)
method_12010(class_2338 arg0, class_2680 arg1, boolean arg2)
setBlockState(BlockPos arg0, BlockState arg1, boolean arg2)
func_177436_a(BlockPos arg0, BlockState arg1, boolean arg2)
setType(BlockPosition arg0, IBlockData arg1, boolean arg2)
public LevelChunkSection
a(int arg0)
getOrCreateSection(int arg0)
method_16679(int arg0)
getSection(int y)
func_217332_a(int arg0)
public void
a(fx arg0, ccg arg1)
setBlockEntity(BlockPos arg0, BlockEntity arg1)
method_12007(class_2338 arg0, class_2586 arg1)
setBlockEntity(BlockPos arg0, BlockEntity arg1)
func_177426_a(BlockPos arg0, TileEntity arg1)
setTileEntity(BlockPosition arg0, TileEntity arg1)
public Set<BlockPos>
c()
getBlockEntitiesPos()
method_12021()
getBlockEntityPositions()
func_203066_o()
public BlockEntity
c(fx arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos arg0)
func_175625_s(BlockPos arg0)
getTileEntity(BlockPosition arg0)
public Map<BlockPos, BlockEntity>
x()
getBlockEntities()
method_12309()
getBlockEntities()
func_201627_k()
public void
b(md arg0)
addEntity(CompoundTag arg0)
method_12302(class_2487 arg0)
addEntity(CompoundTag entityTag)
func_201626_b(CompoundNBT arg0)
public void
a(apx arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
addEntity(Entity arg0)
func_76612_a(Entity arg0)
public List<CompoundTag>
y()
getEntities()
method_12295()
getEntities()
func_201652_l()
public void
a(cfu arg0)
setBiomes(ChunkBiomeContainer arg0)
method_22405(class_4548 arg0)
setBiomes(BiomeArray biomes)
func_225548_a_(BiomeContainer arg0)
public ChunkBiomeContainer
i()
getBiomes()
method_12036()
getBiomeArray()
func_225549_i_()
getBiomeIndex()
public void
a(boolean arg0)
setUnsaved(boolean arg0)
method_12008(boolean arg0)
setShouldSave(boolean arg0)
func_177427_f(boolean arg0)
setNeedsSaving(boolean arg0)
public boolean
j()
isUnsaved()
method_12044()
needsSaving()
func_201593_f()
isNeedsSaving()
public ChunkStatus
k()
getStatus()
method_12009()
getStatus()
func_201589_g()
getChunkStatus()
public void
a(cfx arg0)
setStatus(ChunkStatus arg0)
method_12308(class_2806 arg0)
setStatus(ChunkStatus status)
func_201574_a(ChunkStatus arg0)
public LevelChunkSection[]
d()
getSections()
method_12006()
getSectionArray()
func_76587_i()
getSections()
public LevelLightEngine
e()
getLightEngine()
method_12023()
getLightingProvider()
func_217307_e()
public Collection<Map$Entry<Heightmap$Types, Heightmap>>
f()
getHeightmaps()
method_12011()
getHeightmaps()
func_217311_f()
public void
a(chk$a arg0, long[] arg1)
setHeightmap(Heightmap$Types arg0, long[] arg1)
method_12037(class_2902$class_2903 arg0, long[] arg1)
setHeightmap(Heightmap$Type arg0, long[] arg1)
func_201607_a(Heightmap$Type arg0, long[] arg1)
public Heightmap
a(chk$a arg0)
getOrCreateHeightmapUnprimed(Heightmap$Types arg0)
method_12032(class_2902$class_2903 arg0)
getHeightmap(Heightmap$Type arg0)
func_217303_b(Heightmap$Type arg0)
public int
a(chk$a arg0, int arg1, int arg2)
getHeight(Heightmap$Types arg0, int arg1, int arg2)
method_12005(class_2902$class_2903 arg0, int arg1, int arg2)
sampleHeightmap(Heightmap$Type arg0, int arg1, int arg2)
func_201576_a(Heightmap$Type arg0, int arg1, int arg2)
getHighestBlock(HeightMap$Type arg0, int arg1, int arg2)
public ChunkPos
g()
getPos()
method_12004()
getPos()
func_76632_l()
getPos()
public void
a(long arg0)
setLastSaveTime(long arg0)
method_12043(long arg0)
setLastSaveTime(long arg0)
func_177432_b(long arg0)
setLastSaved(long arg0)
public StructureStart<?>
a(ckx<?> arg0)
getStartForFeature(StructureFeature<?> arg0)
method_12181(class_3195<?> arg0)
getStructureStart(StructureFeature<?> arg0)
func_230342_a_(Structure<?> arg0)
public void
a(ckx<?> arg0, crs<?> arg1)
setStartForFeature(StructureFeature<?> arg0, StructureStart<?> arg1)
method_12184(class_3195<?> arg0, class_3449<?> arg1)
setStructureStart(StructureFeature<?> arg0, StructureStart<?> arg1)
func_230344_a_(Structure<?> arg0, StructureStart<?> arg1)
public Map<StructureFeature<?>, StructureStart<?>>
h()
getAllStarts()
method_12016()
getStructureStarts()
func_201609_c()
public void
a(Map<ckx<?>, crs<?>> arg0)
setAllStarts(Map<StructureFeature<?>, StructureStart<?>> arg0)
method_12034(Map<class_3195<?>, class_3449<?>> arg0)
setStructureStarts(Map<StructureFeature<?>, StructureStart<?>> arg0)
func_201612_a(Map<Structure<?>, StructureStart<?>> arg0)
public it.unimi.dsi.fastutil.longs.LongSet
b(ckx<?> arg0)
getReferencesForFeature(StructureFeature<?> arg0)
method_12180(class_3195<?> arg0)
getStructureReferences(StructureFeature<?> arg0)
func_230346_b_(Structure<?> arg0)
public void
a(ckx<?> arg0, long arg1)
addReferenceForFeature(StructureFeature<?> arg0, long arg1)
method_12182(class_3195<?> arg0, long arg1)
addStructureReference(StructureFeature<?> arg0, long arg1)
func_230343_a_(Structure<?> arg0, long arg1)
public Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet>
v()
getAllReferences()
method_12179()
getStructureReferences()
func_201604_d()
public void
b(Map<ckx<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setAllReferences(Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
method_12183(Map<class_3195<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setStructureReferences(Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
func_201606_b(Map<Structure<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
public static short
l(fx arg0)
packOffsetCoordinates(BlockPos arg0)
method_12300(class_2338 arg0)
getPackedSectionRelative(BlockPos pos)
func_201651_i(BlockPos arg0)
public static BlockPos
a(short arg0, int arg1, bra arg2)
unpackOffsetCoordinates(short arg0, int arg1, ChunkPos arg2)
method_12314(short arg0, int arg1, class_1923 arg2)
joinBlockPos(short sectionRel, int sectionY, ChunkPos chunkPos)
func_201635_a(short arg0, int arg1, ChunkPos arg2)
public void
e(fx arg0)
markPosForPostprocessing(BlockPos arg0)
method_12039(class_2338 arg0)
markBlockForPostProcessing(BlockPos arg0)
func_201594_d(BlockPos arg0)
public it.unimi.dsi.fastutil.shorts.ShortList[]
l()
getPostProcessing()
method_12012()
getPostProcessingLists()
func_201614_D()
public void
a(short arg0, int arg1)
addPackedPostProcess(short arg0, int arg1)
method_12029(short arg0, int arg1)
markBlockForPostProcessing(short arg0, int arg1)
func_201636_b(short arg0, int arg1)
public ProtoTickList<Block>
s()
getBlockTicks()
method_12303()
getBlockTickScheduler()
func_205218_i_()
public ProtoTickList<Fluid>
t()
getLiquidTicks()
method_12313()
getFluidTickScheduler()
func_212247_j()
public UpgradeData
p()
getUpgradeData()
method_12003()
getUpgradeData()
func_196966_y()
public void
b(long arg0)
setInhabitedTime(long arg0)
method_12028(long arg0)
setInhabitedTime(long arg0)
func_177415_c(long arg0)
setInhabitedTime(long arg0)
public long
q()
getInhabitedTime()
method_12033()
getInhabitedTime()
func_177416_w()
getInhabitedTime()
public void
a(md arg0)
setBlockEntityNbt(CompoundTag arg0)
method_12042(class_2487 arg0)
addPendingBlockEntityTag(CompoundTag arg0)
func_201591_a(CompoundNBT arg0)
public Map<BlockPos, CompoundTag>
z()
getBlockEntityNbts()
method_12316()
getBlockEntityTags()
func_201632_q()
public CompoundTag
i(fx arg0)
getBlockEntityNbt(BlockPos arg0)
method_12024(class_2338 arg0)
getBlockEntityTag(BlockPos arg0)
func_201579_g(BlockPos arg0)
public CompoundTag
j(fx arg0)
getBlockEntityNbtForSaving(BlockPos arg0)
method_20598(class_2338 arg0)
getPackedBlockEntityTag(BlockPos arg0)
func_223134_j(BlockPos arg0)
public void
d(fx arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
removeBlockEntity(BlockPos arg0)
func_177425_e(BlockPos arg0)
removeTileEntity(BlockPosition arg0)
public BitSet
a(chj$a arg0)
getCarvingMask(GenerationStep$Carving arg0)
method_12025(class_2893$class_2894 arg0)
getCarvingMask(GenerationStep$Carver carver)
func_205749_a(GenerationStage$Carving arg0)
public BitSet
b(chj$a arg0)
getOrCreateCarvingMask(GenerationStep$Carving arg0)
method_28510(class_2893$class_2894 arg0)
getOrCreateCarvingMask(GenerationStep$Carver carver)
func_230345_b_(GenerationStage$Carving arg0)
public void
a(chj$a arg0, BitSet arg1)
setCarvingMask(GenerationStep$Carving arg0, BitSet arg1)
method_12307(class_2893$class_2894 arg0, BitSet arg1)
setCarvingMask(GenerationStep$Carver carver, BitSet mask)
func_205767_a(GenerationStage$Carving arg0, BitSet arg1)
public void
a(cul arg0)
setLightEngine(LevelLightEngine arg0)
method_17032(class_3568 arg0)
setLightingProvider(LightingProvider lightingProvider)
func_217306_a(WorldLightManager arg0)
public boolean
r()
isLightCorrect()
method_12038()
isLightOn()
func_217310_r()
public void
b(boolean arg0)
setLightCorrect(boolean arg0)
method_12020(boolean arg0)
setLightOn(boolean arg0)
func_217305_b(boolean arg0)