Package net.minecraft.world.chunk
Class ChunkPrimerWrapper
java.lang.Object
net.minecraft.world.chunk.ChunkPrimer
net.minecraft.world.chunk.ChunkPrimerWrapper
- All Implemented Interfaces:
IChunk,IBlockReader,IStructureReader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddReferenceForFeature(Structure<?> p_230343_1_, long p_230343_2_) private Heightmap.TypefixType(Heightmap.Type p_209532_1_) Map<Structure<?>,StructureStart<?>> getBlockEntity(BlockPos p_175625_1_) getBlockEntityNbt(BlockPos p_201579_1_) getBlockEntityNbtForSaving(BlockPos p_223134_1_) getBlockState(BlockPos p_180495_1_) getCarvingMask(GenerationStage.Carving p_205749_1_) getFluidState(BlockPos p_204610_1_) intgetHeight(Heightmap.Type p_201576_1_, int p_201576_2_, int p_201576_3_) intgetOrCreateCarvingMask(GenerationStage.Carving p_230345_1_) getPos()it.unimi.dsi.fastutil.longs.LongSetgetReferencesForFeature(Structure<?> p_230346_1_) getStartForFeature(Structure<?> p_230342_1_) booleanbooleanvoidmarkPosForPostprocessing(BlockPos p_201594_1_) voidremoveBlockEntity(BlockPos p_177425_1_) voidsetAllReferences(Map<Structure<?>, it.unimi.dsi.fastutil.longs.LongSet> p_201606_1_) voidsetAllStarts(Map<Structure<?>, StructureStart<?>> p_201612_1_) voidsetBiomes(BiomeContainer p_225548_1_) voidsetBlockEntity(BlockPos p_177426_1_, TileEntity p_177426_2_) voidsetBlockEntityNbt(CompoundNBT p_201591_1_) setBlockState(BlockPos p_177436_1_, BlockState p_177436_2_, boolean p_177436_3_) voidsetHeightmap(Heightmap.Type p_201607_1_, long[] p_201607_2_) voidsetLastSaveTime(long p_177432_1_) voidsetLightCorrect(boolean p_217305_1_) voidsetStartForFeature(Structure<?> p_230344_1_, StructureStart<?> p_230344_2_) voidsetStatus(ChunkStatus p_201574_1_) voidsetUnsaved(boolean p_177427_1_) Methods inherited from class net.minecraft.world.chunk.ChunkPrimer
addEntity, addLight, addLight, addPackedPostProcess, getBlockEntities, getBlockEntitiesPos, getBlockEntityNbts, getEntities, getHeightmaps, getInhabitedTime, getOrCreateHeightmapUnprimed, getOrCreateSection, getPackedLights, getPostProcessing, getUpgradeData, packOffsetCoordinates, setCarvingMask, setInhabitedTime, setLightEngine, unpackOffsetCoordinatesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxBuildHeightMethods inherited from interface net.minecraft.world.chunk.IChunk
getHighestSection, getHighestSectionPosition, getWorldForge, isYSpaceEmpty
-
Field Details
-
wrapped
-
-
Constructor Details
-
ChunkPrimerWrapper
-
-
Method Details
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceIBlockReader- Overrides:
getBlockEntityin classChunkPrimer
-
getBlockState
- Specified by:
getBlockStatein interfaceIBlockReader- Overrides:
getBlockStatein classChunkPrimer
-
getFluidState
- Specified by:
getFluidStatein interfaceIBlockReader- Overrides:
getFluidStatein classChunkPrimer
-
getMaxLightLevel
public int getMaxLightLevel() -
setBlockState
@Nullable public BlockState setBlockState(BlockPos p_177436_1_, BlockState p_177436_2_, boolean p_177436_3_) - Specified by:
setBlockStatein interfaceIChunk- Overrides:
setBlockStatein classChunkPrimer
-
setBlockEntity
- Specified by:
setBlockEntityin interfaceIChunk- Overrides:
setBlockEntityin classChunkPrimer
-
addEntity
- Specified by:
addEntityin interfaceIChunk- Overrides:
addEntityin classChunkPrimer
-
setStatus
- Overrides:
setStatusin classChunkPrimer
-
getSections
- Specified by:
getSectionsin interfaceIChunk- Overrides:
getSectionsin classChunkPrimer
-
getLightEngine
- Overrides:
getLightEnginein classChunkPrimer
-
setHeightmap
- Specified by:
setHeightmapin interfaceIChunk- Overrides:
setHeightmapin classChunkPrimer
-
fixType
-
getHeight
- Specified by:
getHeightin interfaceIChunk- Overrides:
getHeightin classChunkPrimer
-
getPos
- Specified by:
getPosin interfaceIChunk- Overrides:
getPosin classChunkPrimer
-
setLastSaveTime
public void setLastSaveTime(long p_177432_1_) - Specified by:
setLastSaveTimein interfaceIChunk- Overrides:
setLastSaveTimein classChunkPrimer
-
getStartForFeature
- Specified by:
getStartForFeaturein interfaceIStructureReader- Overrides:
getStartForFeaturein classChunkPrimer
-
setStartForFeature
- Specified by:
setStartForFeaturein interfaceIStructureReader- Overrides:
setStartForFeaturein classChunkPrimer
-
getAllStarts
- Specified by:
getAllStartsin interfaceIChunk- Overrides:
getAllStartsin classChunkPrimer
-
setAllStarts
- Specified by:
setAllStartsin interfaceIChunk- Overrides:
setAllStartsin classChunkPrimer
-
getReferencesForFeature
- Specified by:
getReferencesForFeaturein interfaceIStructureReader- Overrides:
getReferencesForFeaturein classChunkPrimer
-
addReferenceForFeature
- Specified by:
addReferenceForFeaturein interfaceIStructureReader- Overrides:
addReferenceForFeaturein classChunkPrimer
-
getAllReferences
- Specified by:
getAllReferencesin interfaceIStructureReader- Overrides:
getAllReferencesin classChunkPrimer
-
setAllReferences
- Specified by:
setAllReferencesin interfaceIStructureReader- Overrides:
setAllReferencesin classChunkPrimer
-
getBiomes
- Specified by:
getBiomesin interfaceIChunk- Overrides:
getBiomesin classChunkPrimer
-
setUnsaved
public void setUnsaved(boolean p_177427_1_) - Specified by:
setUnsavedin interfaceIChunk- Overrides:
setUnsavedin classChunkPrimer
-
isUnsaved
public boolean isUnsaved()- Specified by:
isUnsavedin interfaceIChunk- Overrides:
isUnsavedin classChunkPrimer
-
getStatus
- Specified by:
getStatusin interfaceIChunk- Overrides:
getStatusin classChunkPrimer
-
removeBlockEntity
- Specified by:
removeBlockEntityin interfaceIChunk- Overrides:
removeBlockEntityin classChunkPrimer
-
markPosForPostprocessing
- Specified by:
markPosForPostprocessingin interfaceIChunk- Overrides:
markPosForPostprocessingin classChunkPrimer
-
setBlockEntityNbt
- Specified by:
setBlockEntityNbtin interfaceIChunk- Overrides:
setBlockEntityNbtin classChunkPrimer
-
getBlockEntityNbt
- Specified by:
getBlockEntityNbtin interfaceIChunk- Overrides:
getBlockEntityNbtin classChunkPrimer
-
getBlockEntityNbtForSaving
- Specified by:
getBlockEntityNbtForSavingin interfaceIChunk- Overrides:
getBlockEntityNbtForSavingin classChunkPrimer
-
setBiomes
- Overrides:
setBiomesin classChunkPrimer
-
getLights
- Specified by:
getLightsin interfaceIChunk- Overrides:
getLightsin classChunkPrimer
-
getBlockTicks
- Specified by:
getBlockTicksin interfaceIChunk- Overrides:
getBlockTicksin classChunkPrimer
-
getLiquidTicks
- Specified by:
getLiquidTicksin interfaceIChunk- Overrides:
getLiquidTicksin classChunkPrimer
-
getCarvingMask
- Overrides:
getCarvingMaskin classChunkPrimer
-
getOrCreateCarvingMask
- Overrides:
getOrCreateCarvingMaskin classChunkPrimer
-
getWrapped
-
isLightCorrect
public boolean isLightCorrect()- Specified by:
isLightCorrectin interfaceIChunk- Overrides:
isLightCorrectin classChunkPrimer
-
setLightCorrect
public void setLightCorrect(boolean p_217305_1_) - Specified by:
setLightCorrectin interfaceIChunk- Overrides:
setLightCorrectin classChunkPrimer
-