net.minecraft.world.level.chunk

public class LevelChunk

extends ChunkAccess

All mapped superinterfaces:

BlockGetter, LevelHeightAccessor, BiomeManager$NoiseBiomeSource, FeatureAccess

cqi
net.minecraft.world.level.chunk.LevelChunk
net.minecraft.class_2818
net.minecraft.unmapped.C_hrdsvlkq
net.minecraft.world.chunk.WorldChunk
net.minecraft.src.C_2137_
net.minecraft.world.level.chunk.Chunk

Field summary

Modifier and TypeField
static final org.apache.logging.log4j.Logger
l
LOGGER
field_12839
f_hqpxrtdf
LOGGER
f_62771_
private static final TickingBlockEntity
m
NULL_TICKER
field_27221
f_umapfjvi
EMPTY_BLOCK_ENTITY_TICKER
f_156361_
private final Map<BlockPos, LevelChunk$RebindableTickingBlockEntityWrapper>
n
tickersInLevel
field_27222
f_yihjgsqs
blockEntityTickers
f_156362_
private boolean
o
loaded
field_12855
f_rdafyequ
loadedToWorld
f_62775_
private boolean
p
clientLightReady
field_36218
f_cuknwkaj
shouldRenderOnUpdate
f_196848_
final Level
q
level
field_12858
f_qhshpxlr
world
f_62776_
private Supplier<ChunkHolder$FullChunkStatus>
r
fullStatus
field_12856
f_inkzvkbq
levelTypeProvider
f_62790_
private LevelChunk$PostLoadProcessor
s
postLoad
field_12850
f_ufsiahiv
entityLoader
f_62791_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<GameEventDispatcher>
t
gameEventDispatcherSections
field_28129
f_lrjzwxeo
gameEventDispatchers
f_156363_
private final LevelChunkTicks<Block>
u
blockTicks
field_35471
f_dyxtvrkw
blockTickScheduler
f_62784_
private final LevelChunkTicks<Fluid>
v
fluidTicks
field_35472
f_kmrqdxsk
fluidTickScheduler
f_187943_

Constructor summary

ModifierConstructor
public (Level world, ChunkPos pos)
public (Level world, ChunkPos pos, UpgradeData upgradeData, LevelChunkTicks<Block> blockTickScheduler, LevelChunkTicks<Fluid> fluidTickScheduler, long inhabitedTime, LevelChunkSection[] sectionArrayInitializer, LevelChunk$PostLoadProcessor entityLoader, BlendingData blendingData)
public (ServerLevel world, ProtoChunk protoChunk, LevelChunk$PostLoadProcessor entityLoader)

Method summary

Modifier and TypeMethod
public TickContainerAccess<Block>
o()
getBlockTicks()
method_12013()
m_fmezrwqz()
getBlockTickScheduler()
m_183531_()
public TickContainerAccess<Fluid>
p()
getFluidTicks()
method_12014()
m_xwsabvci()
getFluidTickScheduler()
m_183526_()
public ChunkAccess$TicksToSave
q()
getTicksForSerialization()
method_39296()
m_wljtnein()
getTickSchedulers()
m_183568_()
public GameEventDispatcher
a(int arg0)
getEventDispatcher(int arg0)
method_32914(int arg0)
m_comrxvzs(int arg0)
getGameEventDispatcher(int arg0)
m_142336_(int arg0)
public BlockState
a_(gh arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
m_cwgupilf(C_hynzadkk arg0)
getBlockState(BlockPos arg0)
m_8055_(C_4675_ arg0)
public FluidState
b_(gh arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
m_ldbsxred(C_hynzadkk arg0)
getFluidState(BlockPos arg0)
m_6425_(C_4675_ arg0)
public FluidState
a(int arg0, int arg1, int arg2)
getFluidState(int arg0, int arg1, int arg2)
method_12234(int arg0, int arg1, int arg2)
m_azkhtstp(int arg0, int arg1, int arg2)
getFluidState(int x, int y, int z)
m_62814_(int p_62816_, int p_62817_, int arg2)
public BlockState
a(gh arg0, coc arg1, boolean arg2)
setBlockState(BlockPos arg0, BlockState arg1, boolean arg2)
method_12010(class_2338 arg0, class_2680 arg1, boolean arg2)
m_qhwssies(C_hynzadkk arg0, C_txtbiemp arg1, boolean arg2)
setBlockState(BlockPos arg0, BlockState arg1, boolean arg2)
m_6978_(C_4675_ p_62866_, C_2064_ p_62867_, boolean arg2)
public void
a(awt arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
m_blkwaqtb(C_astfners arg0)
addEntity(Entity arg0)
m_6286_(C_507_ arg0)
private BlockEntity
k(gh arg0)
createBlockEntity(BlockPos arg0)
method_12208(class_2338 arg0)
m_vrgotbps(C_hynzadkk arg0)
createBlockEntity(BlockPos pos)
m_62934_(C_4675_ arg0)
public BlockEntity
c_(gh arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
m_jakjlsko(C_hynzadkk arg0)
getBlockEntity(BlockPos arg0)
m_7702_(C_4675_ arg0)
public BlockEntity
a(gh arg0, cqi$b arg1)
getBlockEntity(BlockPos arg0, LevelChunk$EntityCreationType arg1)
method_12201(class_2338 arg0, class_2818$class_2819 arg1)
m_opcnnkyf(C_hynzadkk arg0, C_hrdsvlkq$C_pwlgmnmf arg1)
getBlockEntity(BlockPos pos, WorldChunk$CreationType creationType)
m_5685_(C_4675_ p_62869_, C_2137_$C_2138_ arg1)
public void
b(clz arg0)
addAndRegisterBlockEntity(BlockEntity arg0)
method_12216(class_2586 arg0)
m_wpucjawb(C_kvegafmh arg0)
addBlockEntity(BlockEntity blockEntity)
m_142170_(C_1991_ arg0)
private boolean
J()
isInLevel()
method_31715()
m_lirflyha()
canTickBlockEntities()
m_156370_()
boolean
l(gh arg0)
isTicking(BlockPos arg0)
method_31724(class_2338 arg0)
m_fwegiavd(C_hynzadkk arg0)
canTickBlockEntity(BlockPos pos)
m_156410_(C_4675_ arg0)
public void
a(clz arg0)
setBlockEntity(BlockEntity arg0)
method_12007(class_2586 arg0)
m_hguftcvs(C_kvegafmh arg0)
setBlockEntity(BlockEntity arg0)
m_142169_(C_1991_ arg0)
public CompoundTag
i(gh arg0)
getBlockEntityNbtForSaving(BlockPos arg0)
method_20598(class_2338 arg0)
m_smvmtzoy(C_hynzadkk arg0)
getPackedBlockEntityNbt(BlockPos arg0)
m_8051_(C_4675_ arg0)
public void
d(gh arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
m_uwgruiru(C_hynzadkk arg0)
removeBlockEntity(BlockPos arg0)
m_8114_(C_4675_ arg0)
private <T extends BlockEntity> void
c(T arg0)
removeGameEventListener(T arg0)
method_32918(T arg0)
m_xorbnzue(T arg0)
removeGameEventListener(T blockEntity)
m_156396_(T arg0)
private void
m(gh arg0)
removeBlockEntityTicker(BlockPos arg0)
method_31725(class_2338 arg0)
m_awvidpnl(C_hynzadkk arg0)
removeBlockEntityTicker(BlockPos pos)
m_156412_(C_4675_ arg0)
public void
C()
runPostLoad()
method_12206()
m_dlmhpxiw()
loadEntities()
m_62952_()
public boolean
A()
isEmpty()
method_12223()
m_coxrfges()
isEmpty()
m_6430_()
public void
a(pn arg0, oc arg1, Consumer<sd$b> arg2)
replaceWithPacketData(FriendlyByteBuf arg0, CompoundTag arg1, Consumer<ClientboundLevelChunkPacketData$BlockEntityTagOutput> arg2)
method_12224(class_2540 arg0, class_2487 arg1, Consumer<class_6603$class_6605> arg2)
m_xrygtomw(C_idfydwco arg0, C_hhlwcnih arg1, Consumer<C_tilplatb$C_arplkwav> arg2)
loadFromPacket(PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData$BlockEntityVisitor> arg2)
m_187971_(C_4983_ p_187973_, C_4917_ p_187974_, Consumer<C_183117_$C_183119_> arg2)
public void
c(boolean arg0)
setLoaded(boolean arg0)
method_12226(boolean arg0)
m_okywrsjj(boolean arg0)
setLoadedToWorld(boolean loaded)
m_62913_(boolean arg0)
public Level
D()
getLevel()
method_12200()
m_gezsisut()
getWorld()
m_62953_()
public Map<BlockPos, BlockEntity>
E()
getBlockEntities()
method_12214()
m_bwzlcsiw()
getBlockEntities()
m_62954_()
public Stream<BlockPos>
n()
getLights()
method_12018()
m_hehmhcmj()
getLightSourcesStream()
m_6267_()
public void
F()
postProcessGeneration()
method_12221()
m_hltgjisj()
runPostProcessing()
m_62812_()
private BlockEntity
a(gh arg0, oc arg1)
promotePendingBlockEntity(BlockPos arg0, CompoundTag arg1)
method_12204(class_2338 arg0, class_2487 arg1)
m_ylwhpkzq(C_hynzadkk arg0, C_hhlwcnih arg1)
loadBlockEntity(BlockPos pos, NbtCompound nbt)
m_62870_(C_4675_ p_62872_, C_4917_ arg1)
public void
c(long arg0)
unpackTicks(long arg0)
method_20530(long arg0)
m_txdtyywn(long arg0)
disableTickSchedulers(long time)
m_187985_(long arg0)
public void
a(adi arg0)
registerTickContainerInLevel(ServerLevel arg0)
method_39305(class_3218 arg0)
m_txllhxeh(C_bdwnwhiu arg0)
addChunkTickSchedulers(ServerWorld world)
m_187958_(C_12_ arg0)
public void
b(adi arg0)
unregisterTickContainerFromLevel(ServerLevel arg0)
method_39306(class_3218 arg0)
m_hidufxvb(C_bdwnwhiu arg0)
removeChunkTickSchedulers(ServerWorld world)
m_187979_(C_12_ arg0)
public ChunkStatus
j()
getStatus()
method_12009()
m_qkpdcbbf()
getStatus()
m_6415_()
public ChunkHolder$FullChunkStatus
B()
getFullStatus()
method_12225()
m_yvcrzojm()
getLevelType()
m_6708_()
public void
b(Supplier<acu$c> arg0)
setFullStatus(Supplier<ChunkHolder$FullChunkStatus> arg0)
method_12207(Supplier<class_3193$class_3194> arg0)
m_axphhprv(Supplier<C_gkderdjo$C_yzdkhkui> arg0)
setLevelTypeProvider(Supplier<ChunkHolder$LevelType> levelTypeProvider)
m_62879_(Supplier<C_5422_$C_5426_> arg0)
public void
G()
clearAllBlockEntities()
method_38289()
m_eryswmdu()
clear()
m_187957_()
public void
H()
registerAllBlockEntitiesAfterLevelLoad()
method_31713()
m_dgieyuve()
updateAllBlockEntities()
m_156369_()
private <T extends BlockEntity> void
d(T arg0)
addGameEventListener(T arg0)
method_32919(T arg0)
m_hfoibruc(T arg0)
updateGameEventListener(T blockEntity)
m_156404_(T arg0)
private <T extends BlockEntity> void
e(T arg0)
updateBlockEntityTicker(T arg0)
method_31723(T arg0)
m_ygxlduhs(T arg0)
updateTicker(T blockEntity)
m_156406_(T arg0)
private <T extends BlockEntity> TickingBlockEntity
a(T arg0, cma<T> arg1)
createTicker(T arg0, BlockEntityTicker<T> arg1)
method_31718(T arg0, class_5558<T> arg1)
m_hxgumoxh(T arg0, C_hedzytvj<T> arg1)
wrapTicker(T blockEntity, BlockEntityTicker<T> blockEntityTicker)
m_156375_(T p_156377_, C_141244_<T> arg1)
public boolean
I()
isClientLightReady()
method_39791()
m_jnpvfusq()
shouldRenderOnUpdate()
m_196863_()
public void
d(boolean arg0)
setClientLightReady(boolean arg0)
method_39792(boolean arg0)
m_ylwlgerm(boolean arg0)
setShouldRenderOnUpdate(boolean shouldRenderOnUpdate)
m_196864_(boolean arg0)