Class SchematicChunkSource.EmptierChunk
java.lang.Object
net.minecraft.world.level.chunk.ChunkAccess
net.minecraft.world.level.chunk.LevelChunk
com.simibubi.create.content.schematics.SchematicChunkSource.EmptierChunk
- All Implemented Interfaces:
net.minecraft.world.level.biome.BiomeManager.NoiseBiomeSource,net.minecraft.world.level.BlockGetter,net.minecraft.world.level.chunk.FeatureAccess,net.minecraft.world.level.LevelHeightAccessor,net.minecraftforge.common.capabilities.ICapabilityProvider,net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.chunk.LevelChunk>
- Enclosing class:
- SchematicChunkSource
public static class SchematicChunkSource.EmptierChunk
extends net.minecraft.world.level.chunk.LevelChunk
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.chunk.LevelChunk
net.minecraft.world.level.chunk.LevelChunk.EntityCreationType, net.minecraft.world.level.chunk.LevelChunk.PostLoadProcessorNested classes/interfaces inherited from class net.minecraft.world.level.chunk.ChunkAccess
net.minecraft.world.level.chunk.ChunkAccess.TicksToSave -
Field Summary
Fields inherited from class net.minecraft.world.level.chunk.ChunkAccess
blendingData, blockEntities, chunkPos, heightmaps, levelHeightAccessor, noiseChunk, pendingBlockEntities, postProcessing, sections, unsaved, upgradeData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAndRegisterBlockEntity(net.minecraft.world.level.block.entity.BlockEntity p_150813_1_) net.minecraft.world.level.block.entity.BlockEntitygetBlockEntity(net.minecraft.core.BlockPos p_177424_1_, net.minecraft.world.level.chunk.LevelChunk.EntityCreationType p_177424_2_) net.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.core.BlockPos p_180495_1_) net.minecraft.world.level.material.FluidStategetFluidState(net.minecraft.core.BlockPos p_204610_1_) net.minecraft.server.level.ChunkHolder.FullChunkStatusintgetLightEmission(net.minecraft.core.BlockPos p_217298_1_) booleanisEmpty()booleanisYSpaceEmpty(int p_76606_1_, int p_76606_2_) voidvoidremoveBlockEntity(net.minecraft.core.BlockPos p_177425_1_) voidsetBlockEntity(net.minecraft.world.level.block.entity.BlockEntity p_177426_2_) net.minecraft.world.level.block.state.BlockStatesetBlockState(net.minecraft.core.BlockPos p_177436_1_, net.minecraft.world.level.block.state.BlockState p_177436_2_, boolean p_177436_3_) Methods inherited from class net.minecraft.world.level.chunk.LevelChunk
addEntity, areCapsCompatible, areCapsCompatible, clearAllBlockEntities, getBlockEntities, getBlockEntity, getBlockEntityNbtForSaving, getBlockTicks, getCapability, getEventDispatcher, getFluidState, getFluidTicks, getLevel, getLights, getStatus, getTicksForSerialization, getWorldForge, invalidateCaps, isClientLightReady, postProcessGeneration, readCapsFromNBT, registerAllBlockEntitiesAfterLevelLoad, registerTickContainerInLevel, replaceWithPacketData, reviveCaps, runPostLoad, setClientLightReady, setFullStatus, setLoaded, unpackTicks, unregisterTickContainerFromLevel, writeCapsToNBTMethods inherited from class net.minecraft.world.level.chunk.ChunkAccess
addPackedPostProcess, addReferenceForFeature, carverBiome, fillBiomesFromNoise, getAllReferences, getAllStarts, getBelowZeroRetrogen, getBlendingData, getBlockEntitiesPos, getBlockEntityNbt, getHeight, getHeight, getHeightAccessorForGeneration, getHeightmaps, getHighestSection, getHighestSectionPosition, getInhabitedTime, getMinBuildHeight, getNoiseBiome, getOrCreateHeightmapUnprimed, getOrCreateNoiseChunk, getOrCreateOffsetList, getPos, getPostProcessing, getReferencesForFeature, getSection, getSections, getStartForFeature, getUpgradeData, hasAnyStructureReferences, hasPrimedHeightmap, incrementInhabitedTime, isLightCorrect, isOldNoiseGeneration, isUnsaved, isUpgrading, markPosForPostprocessing, setAllReferences, setAllStarts, setBlendingData, setBlockEntityNbt, setHeightmap, setInhabitedTime, setLightCorrect, setStartForFeature, setUnsavedMethods 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.minecraftforge.common.capabilities.ICapabilityProvider
getCapabilityMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Constructor Details
-
EmptierChunk
public EmptierChunk(net.minecraft.core.RegistryAccess registryAccess)
-
-
Method Details
-
getBlockState
public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos p_180495_1_) - Specified by:
getBlockStatein interfacenet.minecraft.world.level.BlockGetter- Overrides:
getBlockStatein classnet.minecraft.world.level.chunk.LevelChunk
-
setBlockState
@Nullable public net.minecraft.world.level.block.state.BlockState setBlockState(net.minecraft.core.BlockPos p_177436_1_, net.minecraft.world.level.block.state.BlockState p_177436_2_, boolean p_177436_3_) - Overrides:
setBlockStatein classnet.minecraft.world.level.chunk.LevelChunk
-
getFluidState
public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.core.BlockPos p_204610_1_) - Specified by:
getFluidStatein interfacenet.minecraft.world.level.BlockGetter- Overrides:
getFluidStatein classnet.minecraft.world.level.chunk.LevelChunk
-
getLightEmission
public int getLightEmission(net.minecraft.core.BlockPos p_217298_1_) -
getBlockEntity
@Nullable public net.minecraft.world.level.block.entity.BlockEntity getBlockEntity(net.minecraft.core.BlockPos p_177424_1_, net.minecraft.world.level.chunk.LevelChunk.EntityCreationType p_177424_2_) - Overrides:
getBlockEntityin classnet.minecraft.world.level.chunk.LevelChunk
-
addAndRegisterBlockEntity
public void addAndRegisterBlockEntity(net.minecraft.world.level.block.entity.BlockEntity p_150813_1_) - Overrides:
addAndRegisterBlockEntityin classnet.minecraft.world.level.chunk.LevelChunk
-
setBlockEntity
public void setBlockEntity(net.minecraft.world.level.block.entity.BlockEntity p_177426_2_) - Overrides:
setBlockEntityin classnet.minecraft.world.level.chunk.LevelChunk
-
removeBlockEntity
public void removeBlockEntity(net.minecraft.core.BlockPos p_177425_1_) - Overrides:
removeBlockEntityin classnet.minecraft.world.level.chunk.LevelChunk
-
markUnsaved
public void markUnsaved() -
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classnet.minecraft.world.level.chunk.LevelChunk
-
isYSpaceEmpty
public boolean isYSpaceEmpty(int p_76606_1_, int p_76606_2_) - Overrides:
isYSpaceEmptyin classnet.minecraft.world.level.chunk.ChunkAccess
-
getFullStatus
public net.minecraft.server.level.ChunkHolder.FullChunkStatus getFullStatus()- Overrides:
getFullStatusin classnet.minecraft.world.level.chunk.LevelChunk
-