Package net.minecraft.world.level.chunk
Class ImposterProtoChunk
java.lang.Object
net.minecraft.world.level.chunk.ChunkAccess
net.minecraft.world.level.chunk.ProtoChunk
net.minecraft.world.level.chunk.ImposterProtoChunk
- All Implemented Interfaces:
BiomeManager.NoiseBiomeSource,BlockGetter,FeatureAccess,LevelHeightAccessor,IForgeBlockGetter
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.chunk.ChunkAccess
ChunkAccess.TicksToSave -
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidvoidaddReferenceForFeature(ConfiguredStructureFeature<?, ?> p_208108_, long p_208109_) voidfillBiomesFromNoise(BiomeResolver p_187923_, Climate.Sampler p_187924_) private Heightmap.TypesfixType(Heightmap.Types p_62742_) Map<ConfiguredStructureFeature<?,?>, it.unimi.dsi.fastutil.longs.LongSet> getBlockEntity(BlockPos p_62744_) getBlockEntityNbt(BlockPos p_62757_) getBlockEntityNbtForSaving(BlockPos p_62760_) getBlockState(BlockPos p_62749_) getCarvingMask(GenerationStep.Carving p_187926_) getFluidState(BlockPos p_62736_) intgetHeight(Heightmap.Types p_62702_, int p_62703_, int p_62704_) intgetNoiseBiome(int p_204430_, int p_204431_, int p_204432_) getOrCreateCarvingMask(GenerationStep.Carving p_187934_) getOrCreateHeightmapUnprimed(Heightmap.Types p_187928_) getPos()it.unimi.dsi.fastutil.longs.LongSetgetReferencesForFeature(ConfiguredStructureFeature<?, ?> p_208114_) getSection(int p_187932_) getStartForFeature(ConfiguredStructureFeature<?, ?> p_208106_) booleanbooleanvoidmarkPosForPostprocessing(BlockPos p_62752_) voidremoveBlockEntity(BlockPos p_62747_) voidsetAllReferences(Map<ConfiguredStructureFeature<?, ?>, it.unimi.dsi.fastutil.longs.LongSet> p_62738_) voidsetAllStarts(Map<ConfiguredStructureFeature<?, ?>, StructureStart> p_62726_) voidsetBlendingData(BlendingData p_187930_) voidsetBlockEntity(BlockEntity p_156358_) voidsetBlockEntityNbt(CompoundTag p_62728_) setBlockState(BlockPos p_62722_, BlockState p_62723_, boolean p_62724_) voidsetHeightmap(Heightmap.Types p_62706_, long[] p_62707_) voidsetLightCorrect(boolean p_62740_) voidsetStartForFeature(ConfiguredStructureFeature<?, ?> p_208111_, StructureStart p_208112_) voidsetStatus(ChunkStatus p_62698_) voidsetUnsaved(boolean p_62730_) Methods inherited from class net.minecraft.world.level.chunk.ProtoChunk
addEntity, addLight, addLight, addPackedPostProcess, getBelowZeroRetrogen, getBlockEntities, getBlockEntityNbts, getEntities, getHeightAccessorForGeneration, getPackedLights, packOffsetCoordinates, setBelowZeroRetrogen, setCarvingMask, setLightEngine, unpackBlockTicks, unpackFluidTicks, unpackOffsetCoordinatesMethods inherited from class net.minecraft.world.level.chunk.ChunkAccess
carverBiome, getBlockEntitiesPos, getEventDispatcher, getHeight, getHeightmaps, getHighestSection, getHighestSectionPosition, getInhabitedTime, getMinBuildHeight, getOrCreateNoiseChunk, getOrCreateOffsetList, getPostProcessing, getUpgradeData, getWorldForge, hasAnyStructureReferences, hasPrimedHeightmap, incrementInhabitedTime, isOldNoiseGeneration, isUpgrading, isYSpaceEmpty, setInhabitedTimeMethods 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, getLightEmission, isBlockInLineMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntityMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
wrapped
-
allowWrites
private final boolean allowWrites
-
-
Constructor Details
-
ImposterProtoChunk
-
-
Method Details
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceBlockGetter- Overrides:
getBlockEntityin classProtoChunk
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockGetter- Overrides:
getBlockStatein classProtoChunk
-
getFluidState
- Specified by:
getFluidStatein interfaceBlockGetter- Overrides:
getFluidStatein classProtoChunk
-
getMaxLightLevel
public int getMaxLightLevel() -
getSection
- Overrides:
getSectionin classChunkAccess
-
setBlockState
- Overrides:
setBlockStatein classProtoChunk
-
setBlockEntity
- Overrides:
setBlockEntityin classProtoChunk
-
addEntity
- Overrides:
addEntityin classProtoChunk
-
setStatus
- Overrides:
setStatusin classProtoChunk
-
getSections
- Overrides:
getSectionsin classChunkAccess
-
setHeightmap
- Overrides:
setHeightmapin classChunkAccess
-
fixType
-
getOrCreateHeightmapUnprimed
- Overrides:
getOrCreateHeightmapUnprimedin classChunkAccess
-
getHeight
- Overrides:
getHeightin classChunkAccess
-
getNoiseBiome
- Specified by:
getNoiseBiomein interfaceBiomeManager.NoiseBiomeSource- Overrides:
getNoiseBiomein classProtoChunk
-
getPos
- Overrides:
getPosin classChunkAccess
-
getStartForFeature
- Specified by:
getStartForFeaturein interfaceFeatureAccess- Overrides:
getStartForFeaturein classChunkAccess
-
setStartForFeature
- Specified by:
setStartForFeaturein interfaceFeatureAccess- Overrides:
setStartForFeaturein classProtoChunk
-
getAllStarts
- Overrides:
getAllStartsin classChunkAccess
-
setAllStarts
- Overrides:
setAllStartsin classChunkAccess
-
getReferencesForFeature
public it.unimi.dsi.fastutil.longs.LongSet getReferencesForFeature(ConfiguredStructureFeature<?, ?> p_208114_) - Specified by:
getReferencesForFeaturein interfaceFeatureAccess- Overrides:
getReferencesForFeaturein classChunkAccess
-
addReferenceForFeature
- Specified by:
addReferenceForFeaturein interfaceFeatureAccess- Overrides:
addReferenceForFeaturein classChunkAccess
-
getAllReferences
- Specified by:
getAllReferencesin interfaceFeatureAccess- Overrides:
getAllReferencesin classChunkAccess
-
setAllReferences
public void setAllReferences(Map<ConfiguredStructureFeature<?, ?>, it.unimi.dsi.fastutil.longs.LongSet> p_62738_) - Specified by:
setAllReferencesin interfaceFeatureAccess- Overrides:
setAllReferencesin classChunkAccess
-
setUnsaved
public void setUnsaved(boolean p_62730_) - Overrides:
setUnsavedin classChunkAccess
-
isUnsaved
public boolean isUnsaved()- Overrides:
isUnsavedin classChunkAccess
-
getStatus
- Overrides:
getStatusin classProtoChunk
-
removeBlockEntity
- Overrides:
removeBlockEntityin classProtoChunk
-
markPosForPostprocessing
- Overrides:
markPosForPostprocessingin classProtoChunk
-
setBlockEntityNbt
- Overrides:
setBlockEntityNbtin classChunkAccess
-
getBlockEntityNbt
- Overrides:
getBlockEntityNbtin classChunkAccess
-
getBlockEntityNbtForSaving
- Overrides:
getBlockEntityNbtForSavingin classProtoChunk
-
getLights
- Overrides:
getLightsin classProtoChunk
-
getBlockTicks
- Overrides:
getBlockTicksin classProtoChunk
-
getFluidTicks
- Overrides:
getFluidTicksin classProtoChunk
-
getTicksForSerialization
- Overrides:
getTicksForSerializationin classProtoChunk
-
getBlendingData
- Overrides:
getBlendingDatain classChunkAccess
-
setBlendingData
- Overrides:
setBlendingDatain classChunkAccess
-
getCarvingMask
- Overrides:
getCarvingMaskin classProtoChunk
-
getOrCreateCarvingMask
- Overrides:
getOrCreateCarvingMaskin classProtoChunk
-
getWrapped
-
isLightCorrect
public boolean isLightCorrect()- Overrides:
isLightCorrectin classChunkAccess
-
setLightCorrect
public void setLightCorrect(boolean p_62740_) - Overrides:
setLightCorrectin classChunkAccess
-
fillBiomesFromNoise
- Overrides:
fillBiomesFromNoisein classChunkAccess
-