public class ChunkPrimerWrapper extends ChunkPrimer
Constructor and Description |
---|
ChunkPrimerWrapper(Chunk p_i49948_1_) |
addEntity, addLightPosition, addLightValue, func_201636_b, getDeferredTileEntities, getEntities, getHeightmap, getHeightmaps, getInhabitedTime, getPackedLightPositions, getPackedPositions, getSection, getTileEntities, getTileEntitiesPos, getUpgradeData, packToLocal, setCarvingMask, setInhabitedTime, setLightManager, unpackToWorld
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLastExtendedBlockStorage, getList, getTopFilledSegment, getWorldForge, isEmptyBetween
func_217300_a, getHeight, getLightValue, rayTraceBlocks, rayTraceBlocks
private final Chunk chunk
public ChunkPrimerWrapper(Chunk p_i49948_1_)
@Nullable public TileEntity getTileEntity(BlockPos pos)
getTileEntity
in interface IBlockReader
getTileEntity
in class ChunkPrimer
@Nullable public BlockState getBlockState(BlockPos pos)
getBlockState
in interface IBlockReader
getBlockState
in class ChunkPrimer
public IFluidState getFluidState(BlockPos pos)
getFluidState
in interface IBlockReader
getFluidState
in class ChunkPrimer
public int getMaxLightLevel()
@Nullable public BlockState setBlockState(BlockPos pos, BlockState state, boolean isMoving)
setBlockState
in interface IChunk
setBlockState
in class ChunkPrimer
public void addTileEntity(BlockPos pos, TileEntity tileEntityIn)
addTileEntity
in interface IChunk
addTileEntity
in class ChunkPrimer
public void addEntity(Entity entityIn)
addEntity
in interface IChunk
addEntity
in class ChunkPrimer
public void setStatus(ChunkStatus status)
setStatus
in class ChunkPrimer
public ChunkSection[] getSections()
getSections
in interface IChunk
getSections
in class ChunkPrimer
@Nullable public WorldLightManager getWorldLightManager()
getWorldLightManager
in class ChunkPrimer
public void setHeightmap(Heightmap.Type type, long[] data)
setHeightmap
in interface IChunk
setHeightmap
in class ChunkPrimer
private Heightmap.Type func_209532_c(Heightmap.Type p_209532_1_)
public int getTopBlockY(Heightmap.Type heightmapType, int x, int z)
getTopBlockY
in interface IChunk
getTopBlockY
in class ChunkPrimer
public ChunkPos getPos()
getPos
in interface IChunk
getPos
in class ChunkPrimer
public void setLastSaveTime(long saveTime)
setLastSaveTime
in interface IChunk
setLastSaveTime
in class ChunkPrimer
@Nullable public StructureStart getStructureStart(java.lang.String stucture)
getStructureStart
in interface IStructureReader
getStructureStart
in class ChunkPrimer
public void putStructureStart(java.lang.String structureIn, StructureStart structureStartIn)
putStructureStart
in interface IStructureReader
putStructureStart
in class ChunkPrimer
public java.util.Map<java.lang.String,StructureStart> getStructureStarts()
getStructureStarts
in interface IChunk
getStructureStarts
in class ChunkPrimer
public void setStructureStarts(java.util.Map<java.lang.String,StructureStart> structureStartsIn)
setStructureStarts
in interface IChunk
setStructureStarts
in class ChunkPrimer
public it.unimi.dsi.fastutil.longs.LongSet getStructureReferences(java.lang.String structureIn)
getStructureReferences
in interface IStructureReader
getStructureReferences
in class ChunkPrimer
public void addStructureReference(java.lang.String strucutre, long reference)
addStructureReference
in interface IStructureReader
addStructureReference
in class ChunkPrimer
public java.util.Map<java.lang.String,it.unimi.dsi.fastutil.longs.LongSet> getStructureReferences()
getStructureReferences
in interface IStructureReader
getStructureReferences
in class ChunkPrimer
public void setStructureReferences(java.util.Map<java.lang.String,it.unimi.dsi.fastutil.longs.LongSet> p_201606_1_)
setStructureReferences
in interface IStructureReader
setStructureReferences
in class ChunkPrimer
public BiomeContainer getBiomes()
getBiomes
in interface IChunk
getBiomes
in class ChunkPrimer
public void setModified(boolean modified)
setModified
in interface IChunk
setModified
in class ChunkPrimer
public boolean isModified()
isModified
in interface IChunk
isModified
in class ChunkPrimer
public ChunkStatus getStatus()
getStatus
in interface IChunk
getStatus
in class ChunkPrimer
public void removeTileEntity(BlockPos pos)
removeTileEntity
in interface IChunk
removeTileEntity
in class ChunkPrimer
public void markBlockForPostprocessing(BlockPos pos)
markBlockForPostprocessing
in interface IChunk
markBlockForPostprocessing
in class ChunkPrimer
public void addTileEntity(CompoundNBT nbt)
addTileEntity
in interface IChunk
addTileEntity
in class ChunkPrimer
@Nullable public CompoundNBT getDeferredTileEntity(BlockPos pos)
getDeferredTileEntity
in interface IChunk
getDeferredTileEntity
in class ChunkPrimer
@Nullable public CompoundNBT getTileEntityNBT(BlockPos pos)
getTileEntityNBT
in interface IChunk
getTileEntityNBT
in class ChunkPrimer
public void func_225548_a_(BiomeContainer p_225548_1_)
func_225548_a_
in class ChunkPrimer
public java.util.stream.Stream<BlockPos> getLightSources()
getLightSources
in interface IChunk
getLightSources
in class ChunkPrimer
public ChunkPrimerTickList<Block> getBlocksToBeTicked()
getBlocksToBeTicked
in interface IChunk
getBlocksToBeTicked
in class ChunkPrimer
public ChunkPrimerTickList<Fluid> getFluidsToBeTicked()
getFluidsToBeTicked
in interface IChunk
getFluidsToBeTicked
in class ChunkPrimer
public java.util.BitSet getCarvingMask(GenerationStage.Carving type)
getCarvingMask
in interface IChunk
getCarvingMask
in class ChunkPrimer
public Chunk func_217336_u()
public boolean hasLight()
hasLight
in interface IChunk
hasLight
in class ChunkPrimer
public void setLight(boolean lightCorrectIn)
setLight
in interface IChunk
setLight
in class ChunkPrimer