public class EmptyChunk extends Chunk
Chunk.CreateEntityTypeEMPTY_SECTION| コンストラクタと説明 | 
|---|
EmptyChunk(World worldIn,
          ChunkPos p_i49950_2_)  | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
void | 
addEntity(Entity entityIn)
Adds an entity to the chunk. 
 | 
void | 
addTileEntity(BlockPos pos,
             TileEntity tileEntityIn)  | 
void | 
addTileEntity(TileEntity tileEntityIn)  | 
BlockState | 
getBlockState(BlockPos pos)  | 
<T extends Entity> | 
getEntitiesOfTypeWithinAABB(java.lang.Class<? extends T> entityClass,
                           AxisAlignedBB aabb,
                           java.util.List<T> listToFill,
                           java.util.function.Predicate<? super T> filter)
Gets all entities that can be assigned to the specified class. 
 | 
void | 
getEntitiesWithinAABBForEntity(Entity entityIn,
                              AxisAlignedBB aabb,
                              java.util.List<Entity> listToFill,
                              java.util.function.Predicate<? super Entity> filter)
Fills the given list of all entities that intersect within the given bounding box that aren't the passed entity. 
 | 
IFluidState | 
getFluidState(BlockPos pos)  | 
int | 
getLightValue(BlockPos pos)  | 
ChunkHolder.LocationType | 
getLocationType()  | 
TileEntity | 
getTileEntity(BlockPos pos,
             Chunk.CreateEntityType creationMode)  | 
WorldLightManager | 
getWorldLightManager()  | 
boolean | 
isEmpty()  | 
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). 
 | 
void | 
markDirty()
Sets the isModified flag for this Chunk 
 | 
void | 
removeEntity(Entity entityIn)
removes entity using its y chunk coordinate as its index 
 | 
void | 
removeEntityAtIndex(Entity entityIn,
                   int index)
Removes entity at the specified index from the entity array. 
 | 
void | 
removeTileEntity(BlockPos pos)  | 
BlockState | 
setBlockState(BlockPos pos,
             BlockState state,
             boolean isMoving)  | 
addStructureReference, addTileEntity, getBiomes, getBlocksToBeTicked, getDeferredTileEntity, getEntitiesWithinAABBForList, getEntityLists, getFluidState, getFluidsToBeTicked, getHeightmap, getHeightmaps, getInhabitedTime, getLightSources, getPackedPositions, getPos, getSections, getStatus, getStructureReferences, getStructureReferences, getStructureStart, getStructureStarts, getTileEntitiesPos, getTileEntity, getTileEntityMap, getTileEntityNBT, getTopBlockY, getUpgradeData, getWorld, getWorldForge, hasLight, isModified, postLoad, postProcess, putStructureStart, read, readCapsFromNBT, rescheduleTicks, saveScheduledTicks, setHasEntities, setHeightmap, setInhabitedTime, setLastSaveTime, setLight, setLoaded, setLocationType, setModified, setStructureReferences, setStructureStarts, writeCapsToNBTareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_201636_b, getCarvingMask, getLastExtendedBlockStorage, getList, getTopFilledSegment, markBlockForPostprocessingfunc_217300_a, getHeight, getMaxLightLevel, rayTraceBlocks, rayTraceBlocksgetCapability, getCapabilitypublic BlockState getBlockState(BlockPos pos)
getBlockState インタフェース内 IBlockReadergetBlockState クラス内 Chunk@Nullable public BlockState setBlockState(BlockPos pos, BlockState state, boolean isMoving)
setBlockState インタフェース内 IChunksetBlockState クラス内 Chunkpublic IFluidState getFluidState(BlockPos pos)
getFluidState インタフェース内 IBlockReadergetFluidState クラス内 Chunk@Nullable public WorldLightManager getWorldLightManager()
getWorldLightManager クラス内 Chunkpublic int getLightValue(BlockPos pos)
public void addEntity(Entity entityIn)
public void removeEntity(Entity entityIn)
removeEntity クラス内 Chunkpublic void removeEntityAtIndex(Entity entityIn, int index)
removeEntityAtIndex クラス内 Chunk@Nullable public TileEntity getTileEntity(BlockPos pos, Chunk.CreateEntityType creationMode)
getTileEntity クラス内 Chunkpublic void addTileEntity(TileEntity tileEntityIn)
addTileEntity クラス内 Chunkpublic void addTileEntity(BlockPos pos, TileEntity tileEntityIn)
addTileEntity インタフェース内 IChunkaddTileEntity クラス内 Chunkpublic void removeTileEntity(BlockPos pos)
removeTileEntity インタフェース内 IChunkremoveTileEntity クラス内 Chunkpublic void markDirty()
public void getEntitiesWithinAABBForEntity(@Nullable
                                           Entity entityIn,
                                           AxisAlignedBB aabb,
                                           java.util.List<Entity> listToFill,
                                           java.util.function.Predicate<? super Entity> filter)
getEntitiesWithinAABBForEntity クラス内 Chunkpublic <T extends Entity> void getEntitiesOfTypeWithinAABB(java.lang.Class<? extends T> entityClass, AxisAlignedBB aabb, java.util.List<T> listToFill, java.util.function.Predicate<? super T> filter)
getEntitiesOfTypeWithinAABB クラス内 Chunkpublic boolean isEmptyBetween(int startY,
                              int endY)
public ChunkHolder.LocationType getLocationType()
getLocationType クラス内 Chunk