net.minecraft.world.level.chunk

public class ProtoChunk

extends ChunkAccess

All mapped superinterfaces:

BiomeManager$NoiseBiomeSource, LightChunk, BlockGetter, LevelHeightAccessor, StructureAccess

dzn
net.minecraft.world.level.chunk.ProtoChunk
net.minecraft.class_2839
net.minecraft.world.chunk.ProtoChunk
net.minecraft.world.level.chunk.ProtoChunk

Field summary

Modifier and TypeField
private volatile LevelLightEngine
n
lightEngine
field_17105
lightingProvider
private volatile ChunkStatus
o
status
field_12918
status
private final List<CompoundTag>
p
entities
field_12929
entities
private CarvingMask
q
carvingMask
field_12926
carvingMask
private BelowZeroRetrogen
r
belowZeroRetrogen
field_35473
belowZeroRetrogen
private final ProtoChunkTicks<Block>
s
blockTicks
field_35474
blockTickScheduler
private final ProtoChunkTicks<Fluid>
t
fluidTicks
field_35475
fluidTickScheduler

Constructor summary

ModifierConstructor
public (ChunkPos pos, UpgradeData upgradeData, LevelHeightAccessor world, Registry<Biome> biomeRegistry, BlendingData blendingData)
public (ChunkPos pos, UpgradeData upgradeData, LevelChunkSection[] sections, ProtoChunkTicks<Block> blockTickScheduler, ProtoChunkTicks<Fluid> fluidTickScheduler, LevelHeightAccessor world, Registry<Biome> biomeRegistry, BlendingData blendingData)

Method summary

Modifier and TypeMethod
public TickContainerAccess<Block>
q()
getBlockTicks()
method_12013()
getBlockTickScheduler()
public TickContainerAccess<Fluid>
r()
getFluidTicks()
method_12014()
getFluidTickScheduler()
public ChunkAccess$PackedTicks
a(long arg0)
getTicksForSerialization(long arg0)
method_39296(long arg0)
getTickSchedulers(long arg0)
public BlockState
a_(ji arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos arg0)
public FluidState
b_(ji arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
getFluidState(BlockPos arg0)
public BlockState
a(ji arg0, dwy 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)
public void
a(dua arg0)
setBlockEntity(BlockEntity arg0)
method_12007(class_2586 arg0)
setBlockEntity(BlockEntity arg0)
public BlockEntity
c_(ji arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos arg0)
public Map<BlockPos, BlockEntity>
H()
getBlockEntities()
method_12309()
getBlockEntities()
public void
b(tq arg0)
addEntity(CompoundTag arg0)
method_12302(class_2487 arg0)
addEntity(NbtCompound entityNbt)
public void
a(bum arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
addEntity(Entity arg0)
public void
a(enn arg0, env arg1)
setStartForStructure(Structure arg0, StructureStart arg1)
method_12184(class_3195 arg0, class_3449 arg1)
setStructureStart(Structure arg0, StructureStart arg1)
public List<CompoundTag>
I()
getEntities()
method_12295()
getEntities()
public ChunkStatus
n()
getPersistedStatus()
method_12009()
getStatus()
public void
a(dzu arg0)
setPersistedStatus(ChunkStatus arg0)
method_12308(class_2806 arg0)
setStatus(ChunkStatus status)
public Holder<Biome>
getNoiseBiome(int arg0, int arg1, int arg2)
getNoiseBiome(int arg0, int arg1, int arg2)
method_16359(int arg0, int arg1, int arg2)
getBiomeForNoiseGen(int arg0, int arg1, int arg2)
public static short
g(ji arg0)
packOffsetCoordinates(BlockPos arg0)
method_12300(class_2338 arg0)
getPackedSectionRelative(BlockPos pos)
public static BlockPos
a(short arg0, int arg1, dfp arg2)
unpackOffsetCoordinates(short arg0, int arg1, ChunkPos arg2)
method_12314(short arg0, int arg1, class_1923 arg2)
joinBlockPos(short sectionRel, int sectionY, ChunkPos chunkPos)
public void
e(ji arg0)
markPosForPostprocessing(BlockPos arg0)
method_12039(class_2338 arg0)
markBlockForPostProcessing(BlockPos arg0)
public void
a(it.unimi.dsi.fastutil.shorts.ShortList arg0, int arg1)
addPackedPostProcess(it.unimi.dsi.fastutil.shorts.ShortList arg0, int arg1)
method_12029(it.unimi.dsi.fastutil.shorts.ShortList arg0, int arg1)
markBlocksForPostProcessing(it.unimi.dsi.fastutil.shorts.ShortList arg0, int arg1)
public Map<BlockPos, CompoundTag>
J()
getBlockEntityNbts()
method_12316()
getBlockEntityNbts()
public CompoundTag
a(ji arg0, jt$a arg1)
getBlockEntityNbtForSaving(BlockPos arg0, HolderLookup$Provider arg1)
method_20598(class_2338 arg0, class_7225$class_7874 arg1)
getPackedBlockEntityNbt(BlockPos arg0, RegistryWrapper$WrapperLookup arg1)
public void
d(ji arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
removeBlockEntity(BlockPos arg0)
public CarvingMask
E()
getCarvingMask()
method_12025()
getCarvingMask()
public CarvingMask
F()
getOrCreateCarvingMask()
method_28510()
getOrCreateCarvingMask()
public void
a(dys arg0)
setCarvingMask(CarvingMask arg0)
method_12307(class_6643 arg0)
setCarvingMask(CarvingMask carvingMask)
public void
a(esp arg0)
setLightEngine(LevelLightEngine arg0)
method_17032(class_3568 arg0)
setLightingProvider(LightingProvider lightingProvider)
public void
a(ech arg0)
setBelowZeroRetrogen(BelowZeroRetrogen arg0)
method_39309(class_6746 arg0)
setBelowZeroRetrogen(BelowZeroRetrogen belowZeroRetrogen)
public BelowZeroRetrogen
z()
getBelowZeroRetrogen()
method_39300()
getBelowZeroRetrogen()
private static <T> LevelChunkTicks<T>
a(fcr<T> arg0)
unpackTicks(ProtoChunkTicks<T> arg0)
method_39310(class_4296<T> arg0)
createProtoTickScheduler(SimpleTickScheduler<T> tickScheduler)
public LevelChunkTicks<Block>
K()
unpackBlockTicks()
method_39307()
getBlockProtoTickScheduler()
public LevelChunkTicks<Fluid>
L()
unpackFluidTicks()
method_39308()
getFluidProtoTickScheduler()
public LevelHeightAccessor
B()
getHeightAccessorForGeneration()
method_39460()
getHeightLimitView()