Package net.minecraft.world.level.chunk
Class EmptyLevelChunk
java.lang.Object
net.minecraft.world.level.chunk.ChunkAccess
net.minecraft.world.level.chunk.LevelChunk
net.minecraft.world.level.chunk.EmptyLevelChunk
- All Implemented Interfaces:
BiomeManager.NoiseBiomeSource
,BlockGetter
,StructureAccess
,LevelHeightAccessor
,ICapabilityProvider
,ICapabilityProviderImpl<LevelChunk>
,IForgeBlockGetter
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.chunk.LevelChunk
LevelChunk.BoundTickingBlockEntity<T extends BlockEntity>, LevelChunk.EntityCreationType, LevelChunk.PostLoadProcessor, LevelChunk.RebindableTickingBlockEntityWrapper
Nested classes/interfaces inherited from class net.minecraft.world.level.chunk.ChunkAccess
ChunkAccess.TicksToSave
-
Field Summary
Fields inherited from class net.minecraft.world.level.chunk.LevelChunk
level, LOGGER
Fields inherited from class net.minecraft.world.level.chunk.ChunkAccess
blendingData, blockEntities, chunkPos, heightmaps, levelHeightAccessor, noiseChunk, pendingBlockEntities, postProcessing, sections, unsaved, upgradeData
-
Constructor Summary
ConstructorDescriptionEmptyLevelChunk
(Level p_204422_, ChunkPos p_204423_, Holder<Biome> p_204424_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAndRegisterBlockEntity
(BlockEntity p_156346_) getBlockEntity
(BlockPos p_62609_, LevelChunk.EntityCreationType p_62610_) getBlockState
(BlockPos p_62625_) getFluidState
(BlockPos p_62621_) int
getLightEmission
(BlockPos p_62628_) getNoiseBiome
(int p_204426_, int p_204427_, int p_204428_) boolean
isEmpty()
boolean
isYSpaceEmpty
(int p_62587_, int p_62588_) void
removeBlockEntity
(BlockPos p_62623_) void
setBlockEntity
(BlockEntity p_156344_) setBlockState
(BlockPos p_62605_, BlockState p_62606_, boolean p_62607_) Methods inherited from class net.minecraft.world.level.chunk.LevelChunk
addEntity, areCapsCompatible, areCapsCompatible, clearAllBlockEntities, getBlockEntities, getBlockEntity, getBlockEntityNbtForSaving, getBlockTicks, getCapability, getFluidState, getFluidTicks, getLevel, getLights, getListenerRegistry, getStatus, getTicksForSerialization, getWorldForge, invalidateCaps, isClientLightReady, isTicking, postProcessGeneration, readCapsFromNBT, registerAllBlockEntitiesAfterLevelLoad, registerTickContainerInLevel, replaceBiomes, replaceWithPacketData, reviveCaps, runPostLoad, setClientLightReady, setFullStatus, setLoaded, unpackTicks, unregisterTickContainerFromLevel, writeCapsToNBT
Methods inherited from class net.minecraft.world.level.chunk.ChunkAccess
addPackedPostProcess, addReferenceForStructure, carverBiome, fillBiomesFromNoise, getAllReferences, getAllStarts, getBelowZeroRetrogen, getBlendingData, getBlockEntitiesPos, getBlockEntityNbt, getHeight, getHeight, getHeightAccessorForGeneration, getHeightmaps, getHighestSection, getHighestSectionPosition, getInhabitedTime, getMinBuildHeight, getOrCreateHeightmapUnprimed, getOrCreateNoiseChunk, getOrCreateOffsetList, getPos, getPostProcessing, getReferencesForStructure, getSection, getSections, getStartForStructure, getUpgradeData, hasAnyStructureReferences, hasPrimedHeightmap, incrementInhabitedTime, isLightCorrect, isOldNoiseGeneration, isUnsaved, isUpgrading, markPosForPostprocessing, setAllReferences, setAllStarts, setBlendingData, setBlockEntityNbt, setHeightmap, setInhabitedTime, setLightCorrect, setStartForStructure, setUnsaved
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getMaxLightLevel, isBlockInLine
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity, getModelDataManager
Methods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
biome
-
-
Constructor Details
-
EmptyLevelChunk
-
-
Method Details
-
getBlockState
- Specified by:
getBlockState
in interfaceBlockGetter
- Overrides:
getBlockState
in classLevelChunk
-
setBlockState
- Overrides:
setBlockState
in classLevelChunk
-
getFluidState
- Specified by:
getFluidState
in interfaceBlockGetter
- Overrides:
getFluidState
in classLevelChunk
-
getLightEmission
-
getBlockEntity
@Nullable public BlockEntity getBlockEntity(BlockPos p_62609_, LevelChunk.EntityCreationType p_62610_) - Overrides:
getBlockEntity
in classLevelChunk
-
addAndRegisterBlockEntity
- Overrides:
addAndRegisterBlockEntity
in classLevelChunk
-
setBlockEntity
- Overrides:
setBlockEntity
in classLevelChunk
-
removeBlockEntity
- Overrides:
removeBlockEntity
in classLevelChunk
-
isEmpty
public boolean isEmpty()- Overrides:
isEmpty
in classLevelChunk
-
isYSpaceEmpty
public boolean isYSpaceEmpty(int p_62587_, int p_62588_) - Overrides:
isYSpaceEmpty
in classChunkAccess
-
getFullStatus
- Overrides:
getFullStatus
in classLevelChunk
-
getNoiseBiome
- Specified by:
getNoiseBiome
in interfaceBiomeManager.NoiseBiomeSource
- Overrides:
getNoiseBiome
in classChunkAccess
-