net.minecraft.world.level.chunk

public class LevelChunk

extends ChunkAccess

All mapped superinterfaces:

BiomeManager$NoiseBiomeSource, LightChunk, BlockGetter, LevelHeightAccessor, StructureAccess

eco
net.minecraft.world.level.chunk.LevelChunk
net.minecraft.class_2818
net.minecraft.unmapped.C_hrdsvlkq
net.minecraft.world.chunk.WorldChunk
net.minecraft.world.chunk.WorldChunk

Field summary

Modifier and TypeField
static final org.slf4j.Logger
n
LOGGER
field_12839
f_hqpxrtdf
LOGGER
LOGGER
private static final TickingBlockEntity
o
NULL_TICKER
field_27221
f_umapfjvi
EMPTY_BLOCK_ENTITY_TICKER
EMPTY_BLOCK_ENTITY_TICKER
private final Map<BlockPos, LevelChunk$RebindableTickingBlockEntityWrapper>
p
tickersInLevel
field_27222
f_yihjgsqs
blockEntityTickers
blockEntityTickers
private boolean
q
loaded
field_12855
f_rdafyequ
loadedToWorld
loadedToWorld
final Level
r
level
field_12858
f_qhshpxlr
world
world
private Supplier<FullChunkStatus>
s
fullStatus
field_12856
f_inkzvkbq
levelTypeProvider
levelTypeProvider
private LevelChunk$PostLoadProcessor
t
postLoad
field_12850
f_ufsiahiv
entityLoader
loadToWorldConsumer
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<GameEventListenerRegistry>
u
gameEventListenerRegistrySections
field_28129
f_yphcwwhv
gameEventDispatchers
gameEventListenerRegistries
private final LevelChunkTicks<Block>
v
blockTicks
field_35471
f_dyxtvrkw
blockTickScheduler
blockTickScheduler
private final LevelChunkTicks<Fluid>
w
fluidTicks
field_35472
f_kmrqdxsk
fluidTickScheduler
fluidTickScheduler
private LevelChunk$UnsavedListener
x
unsavedListener
field_54971
f_qjvtlfzb
unsavedListener
unsavedListener

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 void
a(eco$e arg0)
setUnsavedListener(LevelChunk$UnsavedListener arg0)
method_65066(class_2818$class_10368 arg0)
m_kipjxnhw(C_hrdsvlkq$C_lfoqtiri arg0)
setUnsavedListener(WorldChunk$UnsavedListener unsavedListener)
updateUnsavedListener(WorldChunk$UnsavedListener listener)
public void
i()
markUnsaved()
method_65063()
m_twktjquw()
markNeedsSaving()
markNeedsSaving()
public TickContainerAccess<Block>
q()
getBlockTicks()
method_12013()
m_fmezrwqz()
getBlockTickScheduler()
getBlockTickScheduler()
public TickContainerAccess<Fluid>
r()
getFluidTicks()
method_12014()
m_xwsabvci()
getFluidTickScheduler()
getFluidTickScheduler()
public ChunkAccess$PackedTicks
a(long arg0)
getTicksForSerialization(long arg0)
method_39296(long arg0)
m_wljtnein(long arg0)
getTickSchedulers(long arg0)
getTicksForSerialization(long arg0)
public GameEventListenerRegistry
a(int arg0)
getListenerRegistry(int arg0)
method_32914(int arg0)
m_fbrqbtve(int arg0)
getGameEventDispatcher(int arg0)
getListenerRegistry(int arg0)
public BlockState
a_(iu arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
m_cwgupilf(C_hynzadkk arg0)
getBlockState(BlockPos arg0)
getBlockState(BlockPos arg0)
public FluidState
b_(iu arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
m_ldbsxred(C_hynzadkk arg0)
getFluidState(BlockPos arg0)
getFluidState(BlockPos 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)
getFluidState(int x, int y, int z)
public BlockState
a(iu arg0, eah arg1, int arg2)
setBlockState(BlockPos arg0, BlockState arg1, int arg2)
method_12010(class_2338 arg0, class_2680 arg1, int arg2)
m_zhcsnntn(C_hynzadkk arg0, C_txtbiemp arg1, int arg2)
setBlockState(BlockPos arg0, BlockState arg1, int arg2)
m_zhcsnntn(BlockPos arg0, BlockState arg1, int arg2)
public void
a(bwf arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
m_blkwaqtb(C_astfners arg0)
addEntity(Entity arg0)
addEntity(Entity arg0)
private BlockEntity
g(iu arg0)
createBlockEntity(BlockPos arg0)
method_12208(class_2338 arg0)
m_vrgotbps(C_hynzadkk arg0)
createBlockEntity(BlockPos pos)
createBlockEntity(BlockPos pos)
public BlockEntity
c_(iu arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
m_jakjlsko(C_hynzadkk arg0)
getBlockEntity(BlockPos arg0)
getBlockEntity(BlockPos arg0)
public BlockEntity
a(iu arg0, eco$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)
getBlockEntity(BlockPos pos, WorldChunk$CreationType creationType)
public void
b(dxf arg0)
addAndRegisterBlockEntity(BlockEntity arg0)
method_12216(class_2586 arg0)
m_wpucjawb(C_kvegafmh arg0)
addBlockEntity(BlockEntity blockEntity)
addBlockEntity(BlockEntity blockEntity)
private boolean
L()
isInLevel()
method_31715()
m_lirflyha()
canTickBlockEntities()
canTickBlockEntities()
boolean
h(iu arg0)
isTicking(BlockPos arg0)
method_31724(class_2338 arg0)
m_fwegiavd(C_hynzadkk arg0)
canTickBlockEntity(BlockPos pos)
canTickBlockEntity(BlockPos pos)
public void
a(dxf arg0)
setBlockEntity(BlockEntity arg0)
method_12007(class_2586 arg0)
m_hguftcvs(C_kvegafmh arg0)
setBlockEntity(BlockEntity arg0)
setBlockEntity(BlockEntity arg0)
public CompoundTag
a(iu arg0, jg$a arg1)
getBlockEntityNbtForSaving(BlockPos arg0, HolderLookup$Provider arg1)
method_20598(class_2338 arg0, class_7225$class_7874 arg1)
m_smvmtzoy(C_hynzadkk arg0, C_vtbxyypo$C_etmlgbig arg1)
getPackedBlockEntityNbt(BlockPos arg0, RegistryWrapper$WrapperLookup arg1)
getPackedBlockEntityNbt(BlockPos arg0, HolderLookup$Provider arg1)
public void
d(iu arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
m_uwgruiru(C_hynzadkk arg0)
removeBlockEntity(BlockPos arg0)
removeBlockEntity(BlockPos arg0)
private <T extends BlockEntity> void
a(T arg0, arq arg1)
removeGameEventListener(T arg0, ServerLevel arg1)
method_32918(T arg0, class_3218 arg1)
m_xorbnzue(T arg0, C_bdwnwhiu arg1)
removeGameEventListener(T blockEntity, ServerWorld world)
removeGameEventListener(T blockEntity, ServerWorld world)
private void
i(int arg0)
removeGameEventListenerRegistry(int arg0)
method_51382(int arg0)
m_uzpphvzl(int arg0)
removeGameEventDispatcher(int ySectionCoord)
removeListenerRegistry(int sectionY)
private void
k(iu arg0)
removeBlockEntityTicker(BlockPos arg0)
method_31725(class_2338 arg0)
m_awvidpnl(C_hynzadkk arg0)
removeBlockEntityTicker(BlockPos pos)
removeBlockEntityTicker(BlockPos pos)
public void
G()
runPostLoad()
method_12206()
m_dlmhpxiw()
loadEntities()
loadToWorld()
public boolean
E()
isEmpty()
method_12223()
m_coxrfges()
isEmpty()
isEmpty()
public void
a(vu arg0, tz arg1, Consumer<adf$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> blockEntityVisitorConsumer)
loadFromPacket(PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData$BlockEntityVisitor> consumer)
public void
a(vu arg0)
replaceBiomes(FriendlyByteBuf arg0)
method_49525(class_2540 arg0)
m_cfbqiyvi(C_idfydwco arg0)
loadBiomeFromPacket(PacketByteBuf buf)
readBiomePacket(PacketByteBuf buf)
public void
b(boolean arg0)
setLoaded(boolean arg0)
method_12226(boolean arg0)
m_okywrsjj(boolean arg0)
setLoadedToWorld(boolean loadedToWorld)
setLoadedToWorld(boolean loaded)
public Level
H()
getLevel()
method_12200()
m_gezsisut()
getWorld()
getWorld()
public Map<BlockPos, BlockEntity>
I()
getBlockEntities()
method_12214()
m_bwzlcsiw()
getBlockEntities()
getBlockEntities()
public void
a(arq arg0)
postProcessGeneration(ServerLevel arg0)
method_12221(class_3218 arg0)
m_hltgjisj(C_bdwnwhiu arg0)
runPostProcessing(ServerWorld world)
runPostProcessing(ServerWorld world)
private BlockEntity
a(iu arg0, tz 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)
loadBlockEntity(BlockPos pos, NbtCompound nbt)
public void
d(long arg0)
unpackTicks(long arg0)
method_20530(long arg0)
m_txdtyywn(long arg0)
disableTickSchedulers(long time)
scheduleInitialTicks(long time)
public void
b(arq arg0)
registerTickContainerInLevel(ServerLevel arg0)
method_39305(class_3218 arg0)
m_txllhxeh(C_bdwnwhiu arg0)
addChunkTickSchedulers(ServerWorld world)
addChunkTickSchedulers(ServerWorld world)
public void
c(arq arg0)
unregisterTickContainerFromLevel(ServerLevel arg0)
method_39306(class_3218 arg0)
m_hidufxvb(C_bdwnwhiu arg0)
removeChunkTickSchedulers(ServerWorld world)
removeChunkTickSchedulers(ServerWorld world)
public ChunkStatus
n()
getPersistedStatus()
method_12009()
m_rbxakgwa()
getStatus()
getStatus()
public FullChunkStatus
F()
getFullStatus()
method_12225()
m_yvcrzojm()
getLevelType()
getLevelType()
public void
b(Supplier<are> arg0)
setFullStatus(Supplier<FullChunkStatus> arg0)
method_12207(Supplier<class_3194> arg0)
m_axphhprv(Supplier<C_whqcauvq> arg0)
setLevelTypeProvider(Supplier<ChunkLevelType> levelTypeProvider)
setLevelTypeProvider(Supplier<ChunkLoadStatus> levelTypeProvider)
public void
J()
clearAllBlockEntities()
method_38289()
m_eryswmdu()
clear()
clearBlockEntities()
public void
K()
registerAllBlockEntitiesAfterLevelLoad()
method_31713()
m_dgieyuve()
updateAllBlockEntities()
updateAllBlockEntities()
private <T extends BlockEntity> void
b(T arg0, arq arg1)
addGameEventListener(T arg0, ServerLevel arg1)
method_32919(T arg0, class_3218 arg1)
m_hfoibruc(T arg0, C_bdwnwhiu arg1)
updateGameEventListener(T blockEntity, ServerWorld world)
updateGameEventListener(T blockEntity, ServerWorld world)
private <T extends BlockEntity> void
c(T arg0)
updateBlockEntityTicker(T arg0)
method_31723(T arg0)
m_ygxlduhs(T arg0)
updateTicker(T blockEntity)
updateTicker(T blockEntity)
private <T extends BlockEntity> TickingBlockEntity
a(T arg0, dxg<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)
wrapTicker(T blockEntity, BlockEntityTicker<T> blockEntityTicker)