public interface IChunk extends IBlockReader, IStructureReader
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | addEntity(Entity entityIn)Adds an entity to the chunk. | 
| void | addTileEntity(BlockPos pos,
             TileEntity tileEntityIn) | 
| default void | addTileEntity(CompoundNBT nbt) | 
| default void | func_201636_b(short packedPosition,
             int index) | 
| BiomeContainer | getBiomes() | 
| ITickList<Block> | getBlocksToBeTicked() | 
| default java.util.BitSet | getCarvingMask(GenerationStage.Carving type) | 
| CompoundNBT | getDeferredTileEntity(BlockPos pos) | 
| ITickList<Fluid> | getFluidsToBeTicked() | 
| Heightmap | getHeightmap(Heightmap.Type typeIn) | 
| java.util.Collection<java.util.Map.Entry<Heightmap.Type,Heightmap>> | getHeightmaps() | 
| long | getInhabitedTime() | 
| default ChunkSection | getLastExtendedBlockStorage() | 
| java.util.stream.Stream<BlockPos> | getLightSources() | 
| static it.unimi.dsi.fastutil.shorts.ShortList | getList(it.unimi.dsi.fastutil.shorts.ShortList[] p_217308_0_,
       int p_217308_1_) | 
| it.unimi.dsi.fastutil.shorts.ShortList[] | getPackedPositions() | 
| ChunkPos | getPos()Gets a  ChunkPosrepresenting the x and z coordinates of this chunk. | 
| ChunkSection[] | getSections()Returns the ExtendedBlockStorage array for this Chunk. | 
| ChunkStatus | getStatus() | 
| java.util.Map<java.lang.String,StructureStart> | getStructureStarts() | 
| java.util.Set<BlockPos> | getTileEntitiesPos() | 
| CompoundNBT | getTileEntityNBT(BlockPos pos) | 
| int | getTopBlockY(Heightmap.Type heightmapType,
            int x,
            int z) | 
| default int | getTopFilledSegment()Returns the topmost ExtendedBlockStorage instance for this Chunk that actually contains a block. | 
| UpgradeData | getUpgradeData() | 
| default IWorld | getWorldForge() | 
| boolean | hasLight() | 
| default boolean | isEmptyBetween(int startY,
              int endY)Returns whether the ExtendedBlockStorages containing levels (in blocks) from arg 1 to arg 2 are fully empty (true)
 or not (false). | 
| boolean | isModified() | 
| default void | markBlockForPostprocessing(BlockPos pos) | 
| void | removeTileEntity(BlockPos pos) | 
| BlockState | setBlockState(BlockPos pos,
             BlockState state,
             boolean isMoving) | 
| void | setHeightmap(Heightmap.Type type,
            long[] data) | 
| void | setInhabitedTime(long newInhabitedTime) | 
| void | setLastSaveTime(long saveTime) | 
| void | setLight(boolean lightCorrectIn) | 
| void | setModified(boolean modified) | 
| void | setStructureStarts(java.util.Map<java.lang.String,StructureStart> structureStartsIn) | 
func_217300_a, getBlockState, getFluidState, getHeight, getLightValue, getMaxLightLevel, getTileEntity, rayTraceBlocks, rayTraceBlocksaddStructureReference, getStructureReferences, getStructureReferences, getStructureStart, putStructureStart, setStructureReferences@Nullable BlockState setBlockState(BlockPos pos, BlockState state, boolean isMoving)
void addTileEntity(BlockPos pos, TileEntity tileEntityIn)
void addEntity(Entity entityIn)
@Nullable default ChunkSection getLastExtendedBlockStorage()
default int getTopFilledSegment()
java.util.Set<BlockPos> getTileEntitiesPos()
ChunkSection[] getSections()
java.util.Collection<java.util.Map.Entry<Heightmap.Type,Heightmap>> getHeightmaps()
void setHeightmap(Heightmap.Type type, long[] data)
Heightmap getHeightmap(Heightmap.Type typeIn)
int getTopBlockY(Heightmap.Type heightmapType, int x, int z)
void setLastSaveTime(long saveTime)
java.util.Map<java.lang.String,StructureStart> getStructureStarts()
void setStructureStarts(java.util.Map<java.lang.String,StructureStart> structureStartsIn)
default boolean isEmptyBetween(int startY,
                               int endY)
@Nullable BiomeContainer getBiomes()
void setModified(boolean modified)
boolean isModified()
ChunkStatus getStatus()
void removeTileEntity(BlockPos pos)
default void markBlockForPostprocessing(BlockPos pos)
it.unimi.dsi.fastutil.shorts.ShortList[] getPackedPositions()
default void func_201636_b(short packedPosition,
                           int index)
default void addTileEntity(CompoundNBT nbt)
@Nullable CompoundNBT getDeferredTileEntity(BlockPos pos)
@Nullable CompoundNBT getTileEntityNBT(BlockPos pos)
java.util.stream.Stream<BlockPos> getLightSources()
default java.util.BitSet getCarvingMask(GenerationStage.Carving type)
UpgradeData getUpgradeData()
void setInhabitedTime(long newInhabitedTime)
long getInhabitedTime()
static it.unimi.dsi.fastutil.shorts.ShortList getList(it.unimi.dsi.fastutil.shorts.ShortList[] p_217308_0_,
                                                      int p_217308_1_)
boolean hasLight()
void setLight(boolean lightCorrectIn)
@Nullable default IWorld getWorldForge()