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
,StructureAccess
,LevelHeightAccessor
,IForgeBlockGetter
-
Nested Class Summary
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.ChunkAccess
blendingData, blockEntities, chunkPos, heightmaps, levelHeightAccessor, noiseChunk, pendingBlockEntities, postProcessing, sections, unsaved, upgradeData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addReferenceForStructure
(Structure p_223402_, long p_223403_) void
fillBiomesFromNoise
(BiomeResolver p_187923_, Climate.Sampler p_187924_) private Heightmap.Types
fixType
(Heightmap.Types p_62742_) 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_) int
getHeight
(Heightmap.Types p_62702_, int p_62703_, int p_62704_) int
getNoiseBiome
(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.LongSet
getReferencesForStructure
(Structure p_223408_) getSection
(int p_187932_) getStartForStructure
(Structure p_223400_) boolean
boolean
void
markPosForPostprocessing
(BlockPos p_62752_) void
removeBlockEntity
(BlockPos p_62747_) void
setAllReferences
(Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> p_62738_) void
setAllStarts
(Map<Structure, StructureStart> p_62726_) void
setBlendingData
(BlendingData p_187930_) void
setBlockEntity
(BlockEntity p_156358_) void
setBlockEntityNbt
(CompoundTag p_62728_) setBlockState
(BlockPos p_62722_, BlockState p_62723_, boolean p_62724_) void
setHeightmap
(Heightmap.Types p_62706_, long[] p_62707_) void
setLightCorrect
(boolean p_62740_) void
setStartForStructure
(Structure p_223405_, StructureStart p_223406_) void
setStatus
(ChunkStatus p_62698_) void
setUnsaved
(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, unpackOffsetCoordinates
Methods 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, setInhabitedTime
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, getLightEmission, isBlockInLine
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
-
wrapped
-
allowWrites
private final boolean allowWrites
-
-
Constructor Details
-
ImposterProtoChunk
-
-
Method Details
-
getBlockEntity
- Specified by:
getBlockEntity
in interfaceBlockGetter
- Overrides:
getBlockEntity
in classProtoChunk
-
getBlockState
- Specified by:
getBlockState
in interfaceBlockGetter
- Overrides:
getBlockState
in classProtoChunk
-
getFluidState
- Specified by:
getFluidState
in interfaceBlockGetter
- Overrides:
getFluidState
in classProtoChunk
-
getMaxLightLevel
public int getMaxLightLevel() -
getSection
- Overrides:
getSection
in classChunkAccess
-
setBlockState
- Overrides:
setBlockState
in classProtoChunk
-
setBlockEntity
- Overrides:
setBlockEntity
in classProtoChunk
-
addEntity
- Overrides:
addEntity
in classProtoChunk
-
setStatus
- Overrides:
setStatus
in classProtoChunk
-
getSections
- Overrides:
getSections
in classChunkAccess
-
setHeightmap
- Overrides:
setHeightmap
in classChunkAccess
-
fixType
-
getOrCreateHeightmapUnprimed
- Overrides:
getOrCreateHeightmapUnprimed
in classChunkAccess
-
getHeight
- Overrides:
getHeight
in classChunkAccess
-
getNoiseBiome
- Specified by:
getNoiseBiome
in interfaceBiomeManager.NoiseBiomeSource
- Overrides:
getNoiseBiome
in classProtoChunk
-
getPos
- Overrides:
getPos
in classChunkAccess
-
getStartForStructure
- Specified by:
getStartForStructure
in interfaceStructureAccess
- Overrides:
getStartForStructure
in classChunkAccess
-
setStartForStructure
- Specified by:
setStartForStructure
in interfaceStructureAccess
- Overrides:
setStartForStructure
in classProtoChunk
-
getAllStarts
- Overrides:
getAllStarts
in classChunkAccess
-
setAllStarts
- Overrides:
setAllStarts
in classChunkAccess
-
getReferencesForStructure
- Specified by:
getReferencesForStructure
in interfaceStructureAccess
- Overrides:
getReferencesForStructure
in classChunkAccess
-
addReferenceForStructure
- Specified by:
addReferenceForStructure
in interfaceStructureAccess
- Overrides:
addReferenceForStructure
in classChunkAccess
-
getAllReferences
- Specified by:
getAllReferences
in interfaceStructureAccess
- Overrides:
getAllReferences
in classChunkAccess
-
setAllReferences
- Specified by:
setAllReferences
in interfaceStructureAccess
- Overrides:
setAllReferences
in classChunkAccess
-
setUnsaved
public void setUnsaved(boolean p_62730_) - Overrides:
setUnsaved
in classChunkAccess
-
isUnsaved
public boolean isUnsaved()- Overrides:
isUnsaved
in classChunkAccess
-
getStatus
- Overrides:
getStatus
in classProtoChunk
-
removeBlockEntity
- Overrides:
removeBlockEntity
in classProtoChunk
-
markPosForPostprocessing
- Overrides:
markPosForPostprocessing
in classProtoChunk
-
setBlockEntityNbt
- Overrides:
setBlockEntityNbt
in classChunkAccess
-
getBlockEntityNbt
- Overrides:
getBlockEntityNbt
in classChunkAccess
-
getBlockEntityNbtForSaving
- Overrides:
getBlockEntityNbtForSaving
in classProtoChunk
-
getLights
- Overrides:
getLights
in classProtoChunk
-
getBlockTicks
- Overrides:
getBlockTicks
in classProtoChunk
-
getFluidTicks
- Overrides:
getFluidTicks
in classProtoChunk
-
getTicksForSerialization
- Overrides:
getTicksForSerialization
in classProtoChunk
-
getBlendingData
- Overrides:
getBlendingData
in classChunkAccess
-
setBlendingData
- Overrides:
setBlendingData
in classChunkAccess
-
getCarvingMask
- Overrides:
getCarvingMask
in classProtoChunk
-
getOrCreateCarvingMask
- Overrides:
getOrCreateCarvingMask
in classProtoChunk
-
getWrapped
-
isLightCorrect
public boolean isLightCorrect()- Overrides:
isLightCorrect
in classChunkAccess
-
setLightCorrect
public void setLightCorrect(boolean p_62740_) - Overrides:
setLightCorrect
in classChunkAccess
-
fillBiomesFromNoise
- Overrides:
fillBiomesFromNoise
in classChunkAccess
-