net.minecraft.world.level.chunk

public class ProtoChunk

implements ChunkAccess

byb
net.minecraft.world.level.chunk.ProtoChunk
net.minecraft.class_2839
net.minecraft.world.chunk.ProtoChunk
net.minecraft.world.chunk.ChunkPrimer
net.minecraft.server.v1_14_R1.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 Biome[]
d
biomes
field_12913
biomeArray
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<String, StructureStart>
n
structureStarts
field_12915
structureStarts
field_201666_n
private final Map<String, 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
isLightOn
field_217335_u

Constructor summary

ModifierConstructor
public (ChunkPos arg0, UpgradeData arg1)
public (ChunkPos arg0, UpgradeData arg1, LevelChunkSection[] arg2, ProtoTickList<Block> arg3, ProtoTickList<Fluid> arg4)

Method summary

Modifier and TypeMethod
public BlockState
e_(ew arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos arg0)
func_180495_p(BlockPos arg0)
getType(BlockPosition arg0)
public FluidState
b(ew 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(ew arg0)
addLight(BlockPos arg0)
method_12315(class_2338 arg0)
addLightSource(BlockPos pos)
func_201637_h(BlockPos arg0)
public BlockState
a(ew arg0, bvt 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(ew arg0, btw 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
d(ew 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(id arg0)
addEntity(CompoundTag arg0)
method_12302(class_2487 arg0)
addEntity(CompoundTag entityTag)
func_201626_b(CompoundNBT arg0)
public void
a(aio 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(bio[] arg0)
setBiomes(Biome[] arg0)
method_12022(class_1959[] arg0)
setBiomeArray(Biome[] arg0)
func_201577_a(Biome[] arg0)
public Biome[]
i()
getBiomes()
method_12036()
getBiomeArray()
func_201590_e()
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(bxm arg0)
setStatus(ChunkStatus arg0)
method_12308(class_2806 arg0)
setStatus(ChunkStatus arg0)
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(bza$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
b(bza$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(bza$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)
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(String arg0)
getStartForFeature(String arg0)
method_12181(String arg0)
getStructureStart(String arg0)
func_201585_a(String arg0)
public void
a(String arg0, ciw arg1)
setStartForFeature(String arg0, StructureStart arg1)
method_12184(String arg0, class_3449 arg1)
setStructureStart(String arg0, StructureStart arg1)
func_201584_a(String arg0, StructureStart arg1)
public Map<String, StructureStart>
h()
getAllStarts()
method_12016()
getStructureStarts()
func_201609_c()
public void
a(Map<String, ciw> arg0)
setAllStarts(Map<String, StructureStart> arg0)
method_12034(Map<String, class_3449> arg0)
setStructureStarts(Map<String, StructureStart> arg0)
func_201612_a(Map<String, StructureStart> arg0)
public it.unimi.dsi.fastutil.longs.LongSet
b(String arg0)
getReferencesForFeature(String arg0)
method_12180(String arg0)
getStructureReferences(String arg0)
func_201578_b(String arg0)
public void
a(String arg0, long arg1)
addReferenceForFeature(String arg0, long arg1)
method_12182(String arg0, long arg1)
addStructureReference(String arg0, long arg1)
func_201583_a(String arg0, long arg1)
public Map<String, it.unimi.dsi.fastutil.longs.LongSet>
v()
getAllReferences()
method_12179()
getStructureReferences()
func_201604_d()
public void
b(Map<String, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setAllReferences(Map<String, it.unimi.dsi.fastutil.longs.LongSet> arg0)
method_12183(Map<String, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setStructureReferences(Map<String, it.unimi.dsi.fastutil.longs.LongSet> arg0)
func_201606_b(Map<String, it.unimi.dsi.fastutil.longs.LongSet> arg0)
public static short
l(ew 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, bhd 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
f(ew 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)
public long
q()
getInhabitedTime()
method_12033()
getInhabitedTime()
func_177416_w()
public void
a(id 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(ew arg0)
getBlockEntityNbt(BlockPos arg0)
method_12024(class_2338 arg0)
getBlockEntityTagAt(BlockPos arg0)
func_201579_g(BlockPos arg0)
public CompoundTag
j(ew arg0)
getBlockEntityNbtForSaving(BlockPos arg0)
method_20598(class_2338 arg0)
func_223134_j(BlockPos arg0)
public void
e(ew arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
removeBlockEntity(BlockPos arg0)
func_177425_e(BlockPos arg0)
removeTileEntity(BlockPosition arg0)
public BitSet
a(byz$a arg0)
getCarvingMask(GenerationStep$Carving arg0)
method_12025(class_2893$class_2894 arg0)
getCarvingMask(GenerationStep$Carver arg0)
func_205749_a(GenerationStage$Carving arg0)
public void
a(byz$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(clb arg0)
setLightEngine(LevelLightEngine arg0)
method_17032(class_3568 arg0)
setLightingProvider(LightingProvider arg0)
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)