public class ChunkPrimerWrapper extends ChunkPrimer
Constructor and Description |
---|
ChunkPrimerWrapper(IChunk p_i49380_1_) |
Modifier and Type | Method and Description |
---|---|
void |
addEntity(Entity entityIn) |
void |
addStructureReference(java.lang.String strucutre,
long reference) |
void |
addTileEntity(BlockPos pos,
TileEntity tileEntityIn) |
void |
addTileEntity(NBTTagCompound nbt) |
boolean |
canSeeSky(BlockPos pos) |
void |
createHeightMap(Heightmap.Type... types) |
ChunkPrimerTickList<Fluid> |
func_212247_j() |
Biome[] |
getBiomes() |
IBlockState |
getBlockState(BlockPos pos) |
ChunkPrimerTickList<Block> |
getBlocksToBeTicked() |
java.util.BitSet |
getCarvingMask(GenerationStage.Carving type) |
NBTTagCompound |
getDeferredTileEntity(BlockPos pos) |
IFluidState |
getFluidState(BlockPos pos) |
int |
getLight(EnumLightType lightType,
BlockPos pos,
boolean hasSkylight) |
java.util.List<BlockPos> |
getLightBlockPositions() |
int |
getLightSubtracted(BlockPos pos,
int amount,
boolean hasSkylight) |
int |
getMaxLightLevel() |
ChunkPos |
getPos() |
ChunkSection[] |
getSections() |
ChunkStatus |
getStatus() |
java.util.Map<java.lang.String,it.unimi.dsi.fastutil.longs.LongSet> |
getStructureReferences() |
it.unimi.dsi.fastutil.longs.LongSet |
getStructureReferences(java.lang.String structureIn) |
StructureStart |
getStructureStart(java.lang.String stucture) |
java.util.Map<java.lang.String,StructureStart> |
getStructureStarts() |
TileEntity |
getTileEntity(BlockPos pos) |
int |
getTopBlockY(Heightmap.Type heightmapType,
int x,
int z) |
boolean |
isModified() |
void |
markBlockForPostprocessing(BlockPos pos) |
void |
putStructureStart(java.lang.String structureIn,
StructureStart structureStartIn) |
void |
removeTileEntity(BlockPos pos) |
void |
setBiomes(Biome[] biomesIn) |
IBlockState |
setBlockState(BlockPos pos,
IBlockState state,
boolean isMoving) |
void |
setHeightMap(Heightmap.Type type,
long[] heightData) |
void |
setLastSaveTime(long saveTime) |
void |
setLightFor(EnumLightType light,
boolean hasSkylight,
BlockPos pos,
int lightValue) |
void |
setModified(boolean modified) |
void |
setStatus(ChunkStatus status) |
void |
setStructureReferences(java.util.Map<java.lang.String,it.unimi.dsi.fastutil.longs.LongSet> map) |
void |
setStructureStarts(java.util.Map<java.lang.String,StructureStart> map) |
void |
setUpdateHeightmaps(boolean p_207739_1_) |
addEntity, addLightPosition, addLightValue, addRefCount, func_201636_b, getDeferredTileEntities, getEntities, getHeightmap, getHeightMapKeys, getInhabitedTime, getOrCreate, getPackedLightPositions, getPackedPositions, getTileEntities, getTileEntityPositions, getUpgradeData, isAlive, packToLocal, setCarvingMask, setChunkSections, setInhabitedTime, setStatus, unpackToWorld
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLastExtendedBlockStorage, getTopFilledSegment, getWorldForge
public ChunkPrimerWrapper(IChunk p_i49380_1_)
@Nullable public TileEntity getTileEntity(BlockPos pos)
getTileEntity
in interface IBlockReader
getTileEntity
in class ChunkPrimer
@Nullable public IBlockState 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 IBlockState setBlockState(BlockPos pos, IBlockState 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 interface IChunk
setStatus
in class ChunkPrimer
public ChunkSection[] getSections()
getSections
in interface IChunk
getSections
in class ChunkPrimer
public int getLight(EnumLightType lightType, BlockPos pos, boolean hasSkylight)
getLight
in interface IChunk
getLight
in class ChunkPrimer
public int getLightSubtracted(BlockPos pos, int amount, boolean hasSkylight)
getLightSubtracted
in interface IChunk
getLightSubtracted
in class ChunkPrimer
public boolean canSeeSky(BlockPos pos)
canSeeSky
in interface IChunk
canSeeSky
in class ChunkPrimer
public void setHeightMap(Heightmap.Type type, long[] heightData)
setHeightMap
in class ChunkPrimer
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 IChunk
getStructureStart
in class ChunkPrimer
public void putStructureStart(java.lang.String structureIn, StructureStart structureStartIn)
putStructureStart
in interface IChunk
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> map)
setStructureStarts
in class ChunkPrimer
@Nullable public it.unimi.dsi.fastutil.longs.LongSet getStructureReferences(java.lang.String structureIn)
getStructureReferences
in interface IChunk
getStructureReferences
in class ChunkPrimer
public void addStructureReference(java.lang.String strucutre, long reference)
addStructureReference
in interface IChunk
addStructureReference
in class ChunkPrimer
public java.util.Map<java.lang.String,it.unimi.dsi.fastutil.longs.LongSet> getStructureReferences()
getStructureReferences
in interface IChunk
getStructureReferences
in class ChunkPrimer
public void setStructureReferences(java.util.Map<java.lang.String,it.unimi.dsi.fastutil.longs.LongSet> map)
setStructureReferences
in class ChunkPrimer
public Biome[] getBiomes()
getBiomes
in interface IChunk
getBiomes
in class ChunkPrimer
public void setModified(boolean modified)
setModified
in class ChunkPrimer
public boolean isModified()
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 setLightFor(EnumLightType light, boolean hasSkylight, BlockPos pos, int lightValue)
setLightFor
in interface IChunk
setLightFor
in class ChunkPrimer
public void markBlockForPostprocessing(BlockPos pos)
markBlockForPostprocessing
in interface IChunk
markBlockForPostprocessing
in class ChunkPrimer
public void addTileEntity(NBTTagCompound nbt)
addTileEntity
in interface IChunk
addTileEntity
in class ChunkPrimer
@Nullable public NBTTagCompound getDeferredTileEntity(BlockPos pos)
getDeferredTileEntity
in interface IChunk
getDeferredTileEntity
in class ChunkPrimer
public void setBiomes(Biome[] biomesIn)
setBiomes
in interface IChunk
setBiomes
in class ChunkPrimer
public void createHeightMap(Heightmap.Type... types)
createHeightMap
in interface IChunk
createHeightMap
in class ChunkPrimer
public java.util.List<BlockPos> getLightBlockPositions()
getLightBlockPositions
in interface IChunk
getLightBlockPositions
in class ChunkPrimer
public ChunkPrimerTickList<Block> getBlocksToBeTicked()
getBlocksToBeTicked
in interface IChunk
getBlocksToBeTicked
in class ChunkPrimer
public ChunkPrimerTickList<Fluid> func_212247_j()
func_212247_j
in interface IChunk
func_212247_j
in class ChunkPrimer
public java.util.BitSet getCarvingMask(GenerationStage.Carving type)
getCarvingMask
in interface IChunk
getCarvingMask
in class ChunkPrimer
public void setUpdateHeightmaps(boolean p_207739_1_)
setUpdateHeightmaps
in class ChunkPrimer