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, unpackToWorldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLastExtendedBlockStorage, getTopFilledSegment, getWorldForgepublic ChunkPrimerWrapper(IChunk p_i49380_1_)
@Nullable public TileEntity getTileEntity(BlockPos pos)
getTileEntity in interface IBlockReadergetTileEntity in class ChunkPrimer@Nullable public IBlockState getBlockState(BlockPos pos)
getBlockState in interface IBlockReadergetBlockState in class ChunkPrimerpublic IFluidState getFluidState(BlockPos pos)
getFluidState in interface IBlockReadergetFluidState in class ChunkPrimerpublic int getMaxLightLevel()
@Nullable public IBlockState setBlockState(BlockPos pos, IBlockState state, boolean isMoving)
setBlockState in interface IChunksetBlockState in class ChunkPrimerpublic void addTileEntity(BlockPos pos, TileEntity tileEntityIn)
addTileEntity in interface IChunkaddTileEntity in class ChunkPrimerpublic void addEntity(Entity entityIn)
addEntity in interface IChunkaddEntity in class ChunkPrimerpublic void setStatus(ChunkStatus status)
setStatus in interface IChunksetStatus in class ChunkPrimerpublic ChunkSection[] getSections()
getSections in interface IChunkgetSections in class ChunkPrimerpublic int getLight(EnumLightType lightType, BlockPos pos, boolean hasSkylight)
getLight in interface IChunkgetLight in class ChunkPrimerpublic int getLightSubtracted(BlockPos pos, int amount, boolean hasSkylight)
getLightSubtracted in interface IChunkgetLightSubtracted in class ChunkPrimerpublic boolean canSeeSky(BlockPos pos)
canSeeSky in interface IChunkcanSeeSky in class ChunkPrimerpublic void setHeightMap(Heightmap.Type type, long[] heightData)
setHeightMap in class ChunkPrimerpublic int getTopBlockY(Heightmap.Type heightmapType, int x, int z)
getTopBlockY in interface IChunkgetTopBlockY in class ChunkPrimerpublic ChunkPos getPos()
getPos in interface IChunkgetPos in class ChunkPrimerpublic void setLastSaveTime(long saveTime)
setLastSaveTime in interface IChunksetLastSaveTime in class ChunkPrimer@Nullable public StructureStart getStructureStart(java.lang.String stucture)
getStructureStart in interface IChunkgetStructureStart in class ChunkPrimerpublic void putStructureStart(java.lang.String structureIn,
StructureStart structureStartIn)
putStructureStart in interface IChunkputStructureStart in class ChunkPrimerpublic java.util.Map<java.lang.String,StructureStart> getStructureStarts()
getStructureStarts in interface IChunkgetStructureStarts in class ChunkPrimerpublic 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 IChunkgetStructureReferences in class ChunkPrimerpublic void addStructureReference(java.lang.String strucutre,
long reference)
addStructureReference in interface IChunkaddStructureReference in class ChunkPrimerpublic java.util.Map<java.lang.String,it.unimi.dsi.fastutil.longs.LongSet> getStructureReferences()
getStructureReferences in interface IChunkgetStructureReferences in class ChunkPrimerpublic void setStructureReferences(java.util.Map<java.lang.String,it.unimi.dsi.fastutil.longs.LongSet> map)
setStructureReferences in class ChunkPrimerpublic Biome[] getBiomes()
getBiomes in interface IChunkgetBiomes in class ChunkPrimerpublic void setModified(boolean modified)
setModified in class ChunkPrimerpublic boolean isModified()
isModified in class ChunkPrimerpublic ChunkStatus getStatus()
getStatus in interface IChunkgetStatus in class ChunkPrimerpublic void removeTileEntity(BlockPos pos)
removeTileEntity in interface IChunkremoveTileEntity in class ChunkPrimerpublic void setLightFor(EnumLightType light, boolean hasSkylight, BlockPos pos, int lightValue)
setLightFor in interface IChunksetLightFor in class ChunkPrimerpublic void markBlockForPostprocessing(BlockPos pos)
markBlockForPostprocessing in interface IChunkmarkBlockForPostprocessing in class ChunkPrimerpublic void addTileEntity(NBTTagCompound nbt)
addTileEntity in interface IChunkaddTileEntity in class ChunkPrimer@Nullable public NBTTagCompound getDeferredTileEntity(BlockPos pos)
getDeferredTileEntity in interface IChunkgetDeferredTileEntity in class ChunkPrimerpublic void setBiomes(Biome[] biomesIn)
setBiomes in interface IChunksetBiomes in class ChunkPrimerpublic void createHeightMap(Heightmap.Type... types)
createHeightMap in interface IChunkcreateHeightMap in class ChunkPrimerpublic java.util.List<BlockPos> getLightBlockPositions()
getLightBlockPositions in interface IChunkgetLightBlockPositions in class ChunkPrimerpublic ChunkPrimerTickList<Block> getBlocksToBeTicked()
getBlocksToBeTicked in interface IChunkgetBlocksToBeTicked in class ChunkPrimerpublic ChunkPrimerTickList<Fluid> func_212247_j()
func_212247_j in interface IChunkfunc_212247_j in class ChunkPrimerpublic java.util.BitSet getCarvingMask(GenerationStage.Carving type)
getCarvingMask in interface IChunkgetCarvingMask in class ChunkPrimerpublic void setUpdateHeightmaps(boolean p_207739_1_)
setUpdateHeightmaps in class ChunkPrimer