public class ChunkPrimerWrapper extends ChunkPrimer
Constructor and Description |
---|
ChunkPrimerWrapper(Chunk p_i49948_1_) |
addEntity, addLight, addLight, addPackedPostProcess, getBlockEntities, getBlockEntitiesPos, getBlockEntityNbts, getEntities, getHeightmaps, getInhabitedTime, getOrCreateHeightmapUnprimed, getOrCreateSection, getPackedLights, getPostProcessing, getUpgradeData, packOffsetCoordinates, setCarvingMask, setInhabitedTime, setLightEngine, unpackOffsetCoordinates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHighestSection, getHighestSectionPosition, getOrCreateOffsetList, getWorldForge, isYSpaceEmpty
clip, clipWithInteractionOverride, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxBuildHeight, traverseBlocks
private final Chunk wrapped
public ChunkPrimerWrapper(Chunk p_i49948_1_)
@Nullable public TileEntity getBlockEntity(BlockPos p_175625_1_)
getBlockEntity
in interface IBlockReader
getBlockEntity
in class ChunkPrimer
@Nullable public BlockState getBlockState(BlockPos p_180495_1_)
getBlockState
in interface IBlockReader
getBlockState
in class ChunkPrimer
public FluidState getFluidState(BlockPos p_204610_1_)
getFluidState
in interface IBlockReader
getFluidState
in class ChunkPrimer
public int getMaxLightLevel()
@Nullable public BlockState setBlockState(BlockPos p_177436_1_, BlockState p_177436_2_, boolean p_177436_3_)
setBlockState
in interface IChunk
setBlockState
in class ChunkPrimer
public void setBlockEntity(BlockPos p_177426_1_, TileEntity p_177426_2_)
setBlockEntity
in interface IChunk
setBlockEntity
in class ChunkPrimer
public void addEntity(Entity p_76612_1_)
addEntity
in interface IChunk
addEntity
in class ChunkPrimer
public void setStatus(ChunkStatus p_201574_1_)
setStatus
in class ChunkPrimer
public ChunkSection[] getSections()
getSections
in interface IChunk
getSections
in class ChunkPrimer
@Nullable public WorldLightManager getLightEngine()
getLightEngine
in class ChunkPrimer
public void setHeightmap(Heightmap.Type p_201607_1_, long[] p_201607_2_)
setHeightmap
in interface IChunk
setHeightmap
in class ChunkPrimer
private Heightmap.Type fixType(Heightmap.Type p_209532_1_)
public int getHeight(Heightmap.Type p_201576_1_, int p_201576_2_, int p_201576_3_)
getHeight
in interface IChunk
getHeight
in class ChunkPrimer
public ChunkPos getPos()
getPos
in interface IChunk
getPos
in class ChunkPrimer
public void setLastSaveTime(long p_177432_1_)
setLastSaveTime
in interface IChunk
setLastSaveTime
in class ChunkPrimer
@Nullable public StructureStart<?> getStartForFeature(Structure<?> p_230342_1_)
getStartForFeature
in interface IStructureReader
getStartForFeature
in class ChunkPrimer
public void setStartForFeature(Structure<?> p_230344_1_, StructureStart<?> p_230344_2_)
setStartForFeature
in interface IStructureReader
setStartForFeature
in class ChunkPrimer
public java.util.Map<Structure<?>,StructureStart<?>> getAllStarts()
getAllStarts
in interface IChunk
getAllStarts
in class ChunkPrimer
public void setAllStarts(java.util.Map<Structure<?>,StructureStart<?>> p_201612_1_)
setAllStarts
in interface IChunk
setAllStarts
in class ChunkPrimer
public it.unimi.dsi.fastutil.longs.LongSet getReferencesForFeature(Structure<?> p_230346_1_)
getReferencesForFeature
in interface IStructureReader
getReferencesForFeature
in class ChunkPrimer
public void addReferenceForFeature(Structure<?> p_230343_1_, long p_230343_2_)
addReferenceForFeature
in interface IStructureReader
addReferenceForFeature
in class ChunkPrimer
public java.util.Map<Structure<?>,it.unimi.dsi.fastutil.longs.LongSet> getAllReferences()
getAllReferences
in interface IStructureReader
getAllReferences
in class ChunkPrimer
public void setAllReferences(java.util.Map<Structure<?>,it.unimi.dsi.fastutil.longs.LongSet> p_201606_1_)
setAllReferences
in interface IStructureReader
setAllReferences
in class ChunkPrimer
public BiomeContainer getBiomes()
getBiomes
in interface IChunk
getBiomes
in class ChunkPrimer
public void setUnsaved(boolean p_177427_1_)
setUnsaved
in interface IChunk
setUnsaved
in class ChunkPrimer
public boolean isUnsaved()
isUnsaved
in interface IChunk
isUnsaved
in class ChunkPrimer
public ChunkStatus getStatus()
getStatus
in interface IChunk
getStatus
in class ChunkPrimer
public void removeBlockEntity(BlockPos p_177425_1_)
removeBlockEntity
in interface IChunk
removeBlockEntity
in class ChunkPrimer
public void markPosForPostprocessing(BlockPos p_201594_1_)
markPosForPostprocessing
in interface IChunk
markPosForPostprocessing
in class ChunkPrimer
public void setBlockEntityNbt(CompoundNBT p_201591_1_)
setBlockEntityNbt
in interface IChunk
setBlockEntityNbt
in class ChunkPrimer
@Nullable public CompoundNBT getBlockEntityNbt(BlockPos p_201579_1_)
getBlockEntityNbt
in interface IChunk
getBlockEntityNbt
in class ChunkPrimer
@Nullable public CompoundNBT getBlockEntityNbtForSaving(BlockPos p_223134_1_)
getBlockEntityNbtForSaving
in interface IChunk
getBlockEntityNbtForSaving
in class ChunkPrimer
public void setBiomes(BiomeContainer p_225548_1_)
setBiomes
in class ChunkPrimer
public java.util.stream.Stream<BlockPos> getLights()
getLights
in interface IChunk
getLights
in class ChunkPrimer
public ChunkPrimerTickList<Block> getBlockTicks()
getBlockTicks
in interface IChunk
getBlockTicks
in class ChunkPrimer
public ChunkPrimerTickList<Fluid> getLiquidTicks()
getLiquidTicks
in interface IChunk
getLiquidTicks
in class ChunkPrimer
public java.util.BitSet getCarvingMask(GenerationStage.Carving p_205749_1_)
getCarvingMask
in class ChunkPrimer
public java.util.BitSet getOrCreateCarvingMask(GenerationStage.Carving p_230345_1_)
getOrCreateCarvingMask
in class ChunkPrimer
public Chunk getWrapped()
public boolean isLightCorrect()
isLightCorrect
in interface IChunk
isLightCorrect
in class ChunkPrimer
public void setLightCorrect(boolean p_217305_1_)
setLightCorrect
in interface IChunk
setLightCorrect
in class ChunkPrimer