Package net.minecraft.world.level.chunk
Class EmptyLevelChunk
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<LevelChunk>
net.minecraft.world.level.chunk.LevelChunk
net.minecraft.world.level.chunk.EmptyLevelChunk
- All Implemented Interfaces:
BlockGetter,ChunkAccess,FeatureAccess,LevelHeightAccessor,ICapabilityProvider,IForgeLevelChunk
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classNested classes/interfaces inherited from class net.minecraft.world.level.chunk.LevelChunk
LevelChunk.BoundTickingBlockEntity<T extends BlockEntity>, LevelChunk.EntityCreationType, LevelChunk.RebindableTickingBlockEntityWrapper -
Field Summary
Fields inherited from class net.minecraft.world.level.chunk.LevelChunk
EMPTY_SECTION, level, LOGGER -
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_)booleanisEmpty()booleanisYSpaceEmpty(int p_62587_, int p_62588_)voidvoidremoveBlockEntity(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, addReferenceForFeature, getAllReferences, getAllStarts, getBiomes, getBlockEntities, getBlockEntitiesPos, getBlockEntity, getBlockEntityNbt, getBlockEntityNbtForSaving, getBlockTicks, getEventDispatcher, getFluidState, getHeighestPosition, getHeight, getHeight, getHeightmaps, getInhabitedTime, getLevel, getLights, getLiquidTicks, getMinBuildHeight, getOrCreateHeightmapUnprimed, getPos, getPostProcessing, getReferencesForFeature, getSections, getStartForFeature, getStatus, getUpgradeData, getWorldForge, invalidateAllBlockEntities, isLightCorrect, isTicking, isUnsaved, packTicks, postProcessGeneration, readCapsFromNBT, registerAllBlockEntitiesAfterLevelLoad, replaceWithPacketData, runPostLoad, setAllReferences, setAllStarts, setBlockEntityNbt, setFullStatus, setInhabitedTime, setLightCorrect, setLoaded, setStartForFeature, setUnsaved, unpackTicks, writeCapsToNBTMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsMethods 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, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.chunk.ChunkAccess
addPackedPostProcess, getHighestSection, getHighestSectionPosition, getOrCreateSection, markPosForPostprocessing, setHeightmapMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapabilityMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Constructor Details
-
EmptyLevelChunk
-
-
Method Details
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockGetter- Overrides:
getBlockStatein classLevelChunk
-
setBlockState
@Nullable public BlockState setBlockState(BlockPos p_62605_, BlockState p_62606_, boolean p_62607_)- Specified by:
setBlockStatein interfaceChunkAccess- 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
- Specified by:
setBlockEntityin interfaceChunkAccess- Overrides:
setBlockEntityin classLevelChunk
-
removeBlockEntity
- Specified by:
removeBlockEntityin interfaceChunkAccess- Overrides:
removeBlockEntityin classLevelChunk
-
markUnsaved
public void markUnsaved()- Overrides:
markUnsavedin classLevelChunk
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classLevelChunk
-
isYSpaceEmpty
public boolean isYSpaceEmpty(int p_62587_, int p_62588_) -
getFullStatus
- Overrides:
getFullStatusin classLevelChunk
-