Package net.minecraft.world.level.chunk
Class ImposterProtoChunk
java.lang.Object
net.minecraft.world.level.chunk.ProtoChunk
net.minecraft.world.level.chunk.ImposterProtoChunk
- All Implemented Interfaces:
BlockGetter,ChunkAccess,FeatureAccess,LevelHeightAccessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddReferenceForFeature(StructureFeature<?> p_62711_, long p_62712_)private Heightmap.TypesfixType(Heightmap.Types p_62742_)Map<StructureFeature<?>,it.unimi.dsi.fastutil.longs.LongSet>Map<StructureFeature<?>,StructureStart<?>>getBlockEntity(BlockPos p_62744_)getBlockEntityNbt(BlockPos p_62757_)getBlockEntityNbtForSaving(BlockPos p_62760_)getBlockState(BlockPos p_62749_)getCarvingMask(GenerationStep.Carving p_62700_)getFluidState(BlockPos p_62736_)getHeighestPosition(Heightmap.Types p_156360_)intgetHeight(Heightmap.Types p_62702_, int p_62703_, int p_62704_)intgetOrCreateCarvingMask(GenerationStep.Carving p_62732_)getPos()it.unimi.dsi.fastutil.longs.LongSetgetReferencesForFeature(StructureFeature<?> p_62734_)getStartForFeature(StructureFeature<?> p_62709_)booleanbooleanvoidmarkPosForPostprocessing(BlockPos p_62752_)voidremoveBlockEntity(BlockPos p_62747_)voidsetAllReferences(Map<StructureFeature<?>,it.unimi.dsi.fastutil.longs.LongSet> p_62738_)voidsetAllStarts(Map<StructureFeature<?>,StructureStart<?>> p_62726_)voidsetBiomes(ChunkBiomeContainer p_62696_)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(StructureFeature<?> p_62714_, StructureStart<?> p_62715_)voidsetStatus(ChunkStatus p_62698_)voidsetUnsaved(boolean p_62730_)Methods inherited from class net.minecraft.world.level.chunk.ProtoChunk
addEntity, addLight, addLight, addPackedPostProcess, getBlockEntities, getBlockEntitiesPos, getBlockEntityNbts, getEntities, getHeight, getHeightmaps, getInhabitedTime, getMinBuildHeight, getOrCreateHeightmapUnprimed, 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.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, isBlockInLineMethods inherited from interface net.minecraft.world.level.chunk.ChunkAccess
getEventDispatcher, getHighestSection, getHighestSectionPosition, getOrCreateSection, getWorldForge, isYSpaceEmptyMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
wrapped
-
-
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() -
setBlockState
@Nullable public BlockState setBlockState(BlockPos p_62722_, BlockState p_62723_, boolean p_62724_)- Specified by:
setBlockStatein interfaceChunkAccess- Overrides:
setBlockStatein classProtoChunk
-
setBlockEntity
- Specified by:
setBlockEntityin interfaceChunkAccess- Overrides:
setBlockEntityin classProtoChunk
-
addEntity
- Specified by:
addEntityin interfaceChunkAccess- Overrides:
addEntityin classProtoChunk
-
setStatus
- Overrides:
setStatusin classProtoChunk
-
getSections
- Specified by:
getSectionsin interfaceChunkAccess- Overrides:
getSectionsin classProtoChunk
-
setHeightmap
-
fixType
-
getHeight
- Specified by:
getHeightin interfaceChunkAccess- Overrides:
getHeightin classProtoChunk
-
getHeighestPosition
- Specified by:
getHeighestPositionin interfaceChunkAccess- Overrides:
getHeighestPositionin classProtoChunk
-
getPos
- Specified by:
getPosin interfaceChunkAccess- Overrides:
getPosin classProtoChunk
-
getStartForFeature
- Specified by:
getStartForFeaturein interfaceFeatureAccess- Overrides:
getStartForFeaturein classProtoChunk
-
setStartForFeature
- Specified by:
setStartForFeaturein interfaceFeatureAccess- Overrides:
setStartForFeaturein classProtoChunk
-
getAllStarts
- Specified by:
getAllStartsin interfaceChunkAccess- Overrides:
getAllStartsin classProtoChunk
-
setAllStarts
- Specified by:
setAllStartsin interfaceChunkAccess- Overrides:
setAllStartsin classProtoChunk
-
getReferencesForFeature
- Specified by:
getReferencesForFeaturein interfaceFeatureAccess- Overrides:
getReferencesForFeaturein classProtoChunk
-
addReferenceForFeature
- Specified by:
addReferenceForFeaturein interfaceFeatureAccess- Overrides:
addReferenceForFeaturein classProtoChunk
-
getAllReferences
- Specified by:
getAllReferencesin interfaceFeatureAccess- Overrides:
getAllReferencesin classProtoChunk
-
setAllReferences
public void setAllReferences(Map<StructureFeature<?>,it.unimi.dsi.fastutil.longs.LongSet> p_62738_)- Specified by:
setAllReferencesin interfaceFeatureAccess- Overrides:
setAllReferencesin classProtoChunk
-
getBiomes
- Specified by:
getBiomesin interfaceChunkAccess- Overrides:
getBiomesin classProtoChunk
-
setUnsaved
public void setUnsaved(boolean p_62730_)- Specified by:
setUnsavedin interfaceChunkAccess- Overrides:
setUnsavedin classProtoChunk
-
isUnsaved
public boolean isUnsaved()- Specified by:
isUnsavedin interfaceChunkAccess- Overrides:
isUnsavedin classProtoChunk
-
getStatus
- Specified by:
getStatusin interfaceChunkAccess- Overrides:
getStatusin classProtoChunk
-
removeBlockEntity
- Specified by:
removeBlockEntityin interfaceChunkAccess- Overrides:
removeBlockEntityin classProtoChunk
-
markPosForPostprocessing
- Specified by:
markPosForPostprocessingin interfaceChunkAccess- Overrides:
markPosForPostprocessingin classProtoChunk
-
setBlockEntityNbt
- Specified by:
setBlockEntityNbtin interfaceChunkAccess- Overrides:
setBlockEntityNbtin classProtoChunk
-
getBlockEntityNbt
- Specified by:
getBlockEntityNbtin interfaceChunkAccess- Overrides:
getBlockEntityNbtin classProtoChunk
-
getBlockEntityNbtForSaving
- Specified by:
getBlockEntityNbtForSavingin interfaceChunkAccess- Overrides:
getBlockEntityNbtForSavingin classProtoChunk
-
setBiomes
- Overrides:
setBiomesin classProtoChunk
-
getLights
- Specified by:
getLightsin interfaceChunkAccess- Overrides:
getLightsin classProtoChunk
-
getBlockTicks
- Specified by:
getBlockTicksin interfaceChunkAccess- Overrides:
getBlockTicksin classProtoChunk
-
getLiquidTicks
- Specified by:
getLiquidTicksin interfaceChunkAccess- Overrides:
getLiquidTicksin classProtoChunk
-
getCarvingMask
- Overrides:
getCarvingMaskin classProtoChunk
-
getOrCreateCarvingMask
- Overrides:
getOrCreateCarvingMaskin classProtoChunk
-
getWrapped
-
isLightCorrect
public boolean isLightCorrect()- Specified by:
isLightCorrectin interfaceChunkAccess- Overrides:
isLightCorrectin classProtoChunk
-
setLightCorrect
public void setLightCorrect(boolean p_62740_)- Specified by:
setLightCorrectin interfaceChunkAccess- Overrides:
setLightCorrectin classProtoChunk
-