类 ProtoChunk
java.lang.Object
net.minecraft.world.level.chunk.ChunkAccess
net.minecraft.world.level.chunk.ProtoChunk
- 所有已实现的接口:
BiomeManager.NoiseBiomeSource
,BlockGetter
,LightChunk
,StructureAccess
,LevelHeightAccessor
,IForgeBlockGetter
- 直接已知子类:
ImposterProtoChunk
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.chunk.ChunkAccess
ChunkAccess.PackedTicks
-
字段概要
字段修饰符和类型字段说明private BelowZeroRetrogen
private final ProtoChunkTicks
<Block> private CarvingMask
private final List
<CompoundTag> private final ProtoChunkTicks
<Fluid> private LevelLightEngine
private ChunkStatus
从类继承的字段 net.minecraft.world.level.chunk.ChunkAccess
blendingData, blockEntities, chunkPos, heightmaps, levelHeightAccessor, NO_FILLED_SECTION, noiseChunk, pendingBlockEntities, postProcessing, sections, skyLightSources, upgradeData
从接口继承的字段 net.minecraft.world.level.BlockGetter
MAX_BLOCK_ITERATIONS_ALONG_TRAVEL
-
构造器概要
构造器构造器说明ProtoChunk
(ChunkPos p_188173_, UpgradeData p_188174_, LevelChunkSection[] p_188175_, ProtoChunkTicks<Block> p_188176_, ProtoChunkTicks<Fluid> p_188177_, LevelHeightAccessor p_188178_, Registry<Biome> p_188179_, BlendingData p_188180_) ProtoChunk
(ChunkPos p_188167_, UpgradeData p_188168_, LevelHeightAccessor p_188169_, Registry<Biome> p_188170_, BlendingData p_188171_) -
方法概要
修饰符和类型方法说明void
addEntity
(CompoundTag p_63243_) void
void
addPackedPostProcess
(it.unimi.dsi.fastutil.shorts.ShortList p_362697_, int p_63226_) getBlockEntity
(BlockPos p_63257_) getBlockEntityNbtForSaving
(BlockPos p_63275_, HolderLookup.Provider p_335105_) getBlockState
(BlockPos p_63264_) getFluidState
(BlockPos p_63239_) getNoiseBiome
(int p_204450_, int p_204451_, int p_204452_) getTicksForSerialization
(long p_361508_) void
markPosForPostprocessing
(BlockPos p_63266_) static short
packOffsetCoordinates
(BlockPos p_63281_) void
removeBlockEntity
(BlockPos p_63262_) void
setBelowZeroRetrogen
(BelowZeroRetrogen p_188184_) void
setBlockEntity
(BlockEntity p_156488_) setBlockState
(BlockPos p_63217_, BlockState p_63218_, boolean p_63219_) void
setCarvingMask
(CarvingMask p_188188_) void
setLightEngine
(LevelLightEngine p_63210_) void
setPersistedStatus
(ChunkStatus p_334912_) void
setStartForStructure
(Structure p_223432_, StructureStart p_223433_) static BlockPos
unpackOffsetCoordinates
(short p_63228_, int p_63229_, ChunkPos p_63230_) private static <T> LevelChunkTicks
<T> unpackTicks
(ProtoChunkTicks<T> p_188190_) 从类继承的方法 net.minecraft.world.level.chunk.ChunkAccess
addReferenceForStructure, canBeSerialized, carverBiome, fillBiomesFromNoise, findBlockLightSources, findBlocks, findBlocks, getAllReferences, getAllStarts, getBlendingData, getBlockEntitiesPos, getBlockEntityNbt, getHeight, getHeight, getHeightmaps, getHighestFilledSectionIndex, getHighestGeneratedStatus, getHighestSectionPosition, getInhabitedTime, getListenerRegistry, getMinY, getOrCreateHeightmapUnprimed, getOrCreateNoiseChunk, getOrCreateOffsetList, getPos, getPostProcessing, getReferencesForStructure, getSection, getSections, getSkyLightSources, getStartForStructure, getUpgradeData, getWorldForge, hasAnyStructureReferences, hasPrimedHeightmap, incrementInhabitedTime, initializeLightSources, isLightCorrect, isOldNoiseGeneration, isSectionEmpty, isUnsaved, isUpgrading, isYSpaceEmpty, markUnsaved, setAllReferences, setAllStarts, setBlockEntityNbt, setHeightmap, setInhabitedTime, setLightCorrect, tryMarkSaved
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, isBlockInLine
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity, getModelDataManager
从接口继承的方法 net.minecraft.world.level.LevelHeightAccessor
getMaxSectionY, getMaxY, getMinSectionY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, isOutsideBuildHeight, isOutsideBuildHeight
-
字段详细资料
-
lightEngine
-
status
-
entities
-
carvingMask
-
belowZeroRetrogen
-
blockTicks
-
fluidTicks
-
-
构造器详细资料
-
ProtoChunk
public ProtoChunk(ChunkPos p_188167_, UpgradeData p_188168_, LevelHeightAccessor p_188169_, Registry<Biome> p_188170_, @Nullable BlendingData p_188171_) -
ProtoChunk
public ProtoChunk(ChunkPos p_188173_, UpgradeData p_188174_, @Nullable LevelChunkSection[] p_188175_, ProtoChunkTicks<Block> p_188176_, ProtoChunkTicks<Fluid> p_188177_, LevelHeightAccessor p_188178_, Registry<Biome> p_188179_, @Nullable BlendingData p_188180_)
-
-
方法详细资料
-
getBlockTicks
- 指定者:
getBlockTicks
在类中ChunkAccess
-
getFluidTicks
- 指定者:
getFluidTicks
在类中ChunkAccess
-
getTicksForSerialization
- 指定者:
getTicksForSerialization
在类中ChunkAccess
-
getBlockState
-
getFluidState
-
setBlockState
- 指定者:
setBlockState
在类中ChunkAccess
-
setBlockEntity
- 指定者:
setBlockEntity
在类中ChunkAccess
-
getBlockEntity
-
getBlockEntities
-
addEntity
-
addEntity
- 指定者:
addEntity
在类中ChunkAccess
-
setStartForStructure
- 指定者:
setStartForStructure
在接口中StructureAccess
- 覆盖:
setStartForStructure
在类中ChunkAccess
-
getEntities
-
getPersistedStatus
- 指定者:
getPersistedStatus
在类中ChunkAccess
-
setPersistedStatus
-
getNoiseBiome
- 指定者:
getNoiseBiome
在接口中BiomeManager.NoiseBiomeSource
- 覆盖:
getNoiseBiome
在类中ChunkAccess
-
packOffsetCoordinates
-
unpackOffsetCoordinates
-
markPosForPostprocessing
- 覆盖:
markPosForPostprocessing
在类中ChunkAccess
-
addPackedPostProcess
public void addPackedPostProcess(it.unimi.dsi.fastutil.shorts.ShortList p_362697_, int p_63226_) - 覆盖:
addPackedPostProcess
在类中ChunkAccess
-
getBlockEntityNbts
-
getBlockEntityNbtForSaving
@Nullable public CompoundTag getBlockEntityNbtForSaving(BlockPos p_63275_, HolderLookup.Provider p_335105_) - 指定者:
getBlockEntityNbtForSaving
在类中ChunkAccess
-
removeBlockEntity
- 指定者:
removeBlockEntity
在类中ChunkAccess
-
getCarvingMask
-
getOrCreateCarvingMask
-
setCarvingMask
-
setLightEngine
-
setBelowZeroRetrogen
-
getBelowZeroRetrogen
- 覆盖:
getBelowZeroRetrogen
在类中ChunkAccess
-
unpackTicks
-
unpackBlockTicks
-
unpackFluidTicks
-
getHeightAccessorForGeneration
-