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,LightChunk,StructureAccess,LevelHeightAccessor,IAttachmentHolder,IBlockGetterExtension
-
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, LevelChunk.UnsavedListenerNested classes/interfaces inherited from class net.minecraft.world.level.chunk.ChunkAccess
ChunkAccess.PackedTicks -
Field Summary
FieldsFields inherited from class net.minecraft.world.level.chunk.LevelChunk
level, LOGGERFields inherited from class net.minecraft.world.level.chunk.ChunkAccess
blendingData, blockEntities, chunkPos, heightmaps, levelHeightAccessor, NO_FILLED_SECTION, noiseChunk, pendingBlockEntities, postProcessing, sections, skyLightSources, upgradeDataFields inherited from interface net.minecraft.world.level.BlockGetter
MAX_BLOCK_ITERATIONS_ALONG_TRAVEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAndRegisterBlockEntity(BlockEntity p_156346_) getBlockEntity(BlockPos p_62609_, LevelChunk.EntityCreationType p_62610_) getBlockState(BlockPos p_62625_) getFluidState(BlockPos p_62621_) intgetLightEmission(BlockPos p_62628_) getNoiseBiome(int p_204426_, int p_204427_, int p_204428_) Gets the biome at the given quart positions.booleanisEmpty()booleanisSectionEmpty(int p_350288_) booleanisYSpaceEmpty(int p_62587_, int p_62588_) voidremoveBlockEntity(BlockPos p_62623_) voidsetBlockEntity(BlockEntity p_156344_) setBlockState(BlockPos p_62605_, BlockState p_62606_, boolean p_62607_) Methods inherited from class net.minecraft.world.level.chunk.LevelChunk
addEntity, clearAllBlockEntities, getAuxLightManager, getBlockEntities, getBlockEntity, getBlockEntityNbtForSaving, getBlockTicks, getFluidState, getFluidTicks, getLevel, getListenerRegistry, getPersistedStatus, getTicksForSerialization, isTicking, markUnsaved, postProcessGeneration, registerAllBlockEntitiesAfterLevelLoad, registerTickContainerInLevel, replaceBiomes, replaceWithPacketData, runPostLoad, setFullStatus, setLoaded, setUnsavedListener, unpackTicks, unregisterTickContainerFromLevelMethods inherited from class net.minecraft.world.level.chunk.ChunkAccess
addPackedPostProcess, addReferenceForStructure, canBeSerialized, carverBiome, fillBiomesFromNoise, findBlockLightSources, findBlocks, findBlocks, findBlocks, getAllReferences, getAllStarts, getAttachmentHolder, getBelowZeroRetrogen, getBlendingData, getBlockEntitiesPos, getBlockEntityNbt, getData, getExistingData, getHeight, getHeight, getHeightAccessorForGeneration, getHeightmaps, getHighestFilledSectionIndex, getHighestGeneratedStatus, getHighestSectionPosition, getInhabitedTime, getMinY, getOrCreateHeightmapUnprimed, getOrCreateNoiseChunk, getOrCreateOffsetList, getPos, getPostProcessing, getReferencesForStructure, getSection, getSections, getSkyLightSources, getStartForStructure, getUpgradeData, hasAnyStructureReferences, hasAttachments, hasData, hasPrimedHeightmap, incrementInhabitedTime, initializeLightSources, isLightCorrect, isOldNoiseGeneration, isUnsaved, isUpgrading, markPosForPostprocessing, readAttachmentsFromNBT, removeData, setAllReferences, setAllStarts, setBlockEntityNbt, setData, setHeightmap, setInhabitedTime, setLightCorrect, setStartForStructure, tryMarkSaved, writeAttachmentsToNBTMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, isBlockInLineMethods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getData, getExistingData, getExistingData, hasAttachments, hasData, hasData, removeData, removeData, setData, setDataMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
getAuxLightManager, getModelDataMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxSectionY, getMaxY, getMinSectionY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
biome
-
-
Constructor Details
-
EmptyLevelChunk
-
-
Method Details
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockGetter- Overrides:
getBlockStatein classLevelChunk
-
setBlockState
- Overrides:
setBlockStatein classLevelChunk
-
getFluidState
- Specified by:
getFluidStatein interfaceBlockGetter- Overrides:
getFluidStatein classLevelChunk
-
getLightEmission
-
getBlockEntity
@Nullable public BlockEntity getBlockEntity(BlockPos p_62609_, LevelChunk.EntityCreationType p_62610_) - Overrides:
getBlockEntityin classLevelChunk
-
addAndRegisterBlockEntity
- Overrides:
addAndRegisterBlockEntityin classLevelChunk
-
setBlockEntity
- Overrides:
setBlockEntityin classLevelChunk
-
removeBlockEntity
- Overrides:
removeBlockEntityin classLevelChunk
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classLevelChunk
-
isYSpaceEmpty
public boolean isYSpaceEmpty(int p_62587_, int p_62588_) - Overrides:
isYSpaceEmptyin classChunkAccess
-
isSectionEmpty
public boolean isSectionEmpty(int p_350288_) - Overrides:
isSectionEmptyin classChunkAccess
-
getFullStatus
- Overrides:
getFullStatusin classLevelChunk
-
getNoiseBiome
Description copied from interface:BiomeManager.NoiseBiomeSourceGets the biome at the given quart positions. Note that the coordinates passed into this method are 1/4 the scale of block coordinates.- Specified by:
getNoiseBiomein interfaceBiomeManager.NoiseBiomeSource- Overrides:
getNoiseBiomein classChunkAccess
-