public class EmptyChunk extends Chunk
Chunk.CreateEntityTypeEMPTY_SECTION| Constructor and Description |
|---|
EmptyChunk(World p_i49950_1_,
ChunkPos p_i49950_2_) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntity(Entity entityIn) |
void |
addTileEntity(BlockPos pos,
TileEntity tileEntityIn) |
void |
addTileEntity(TileEntity tileEntityIn) |
ChunkHolder.LocationType |
func_217321_u() |
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) |
void |
getEntitiesWithinAABBForEntity(Entity entityIn,
AxisAlignedBB aabb,
java.util.List<Entity> listToFill,
java.util.function.Predicate<? super Entity> filter) |
IFluidState |
getFluidState(BlockPos pos) |
int |
getLightValue(BlockPos pos) |
TileEntity |
getTileEntity(BlockPos pos,
Chunk.CreateEntityType creationMode) |
WorldLightManager |
getWorldLightManager() |
boolean |
isEmpty() |
boolean |
isEmptyBetween(int startY,
int endY) |
void |
markDirty() |
void |
removeEntity(Entity entityIn) |
void |
removeEntityAtIndex(Entity entityIn,
int index) |
void |
removeTileEntity(BlockPos pos) |
BlockState |
setBlockState(BlockPos pos,
BlockState state,
boolean isMoving) |
addStructureReference, addTileEntity, func_217303_b, func_217304_m, func_217311_f, func_217313_a, func_217314_a, func_217318_w, func_222879_B, func_222880_a, func_223134_j, getBiomes, getBlocksToBeTicked, getDeferredTileEntity, getEntityLists, getFluidState, getFluidsToBeTicked, getInhabitedTime, getLightSubtracted, getPackedPositions, getPos, getSections, getStatus, getStructureReferences, getStructureReferences, getStructureStart, getStructureStarts, getTileEntitiesPos, getTileEntity, getTileEntityMap, getTopBlockY, getUpgradeData, getWorld, getWorldForge, hasLight, isModified, postProcess, putStructureStart, read, readCapsFromNBT, setHasEntities, setHeightmap, setInhabitedTime, setLastSaveTime, setLight, setLightManager, setLoaded, 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, getBiome, getCarvingMask, getLastExtendedBlockStorage, getLightSubtracted, getList, getTopFilledSegment, markBlockForPostprocessing, setBiomesfunc_217296_a, func_217300_a, getHeight, getMaxLightLevel, rayTraceBlocksgetCapability, getCapabilitypublic BlockState getBlockState(BlockPos pos)
getBlockState in interface IBlockReadergetBlockState in class Chunk@Nullable public BlockState setBlockState(BlockPos pos, BlockState state, boolean isMoving)
setBlockState in interface IChunksetBlockState in class Chunkpublic IFluidState getFluidState(BlockPos pos)
getFluidState in interface IBlockReadergetFluidState in class Chunk@Nullable public WorldLightManager getWorldLightManager()
getWorldLightManager in interface IChunkgetWorldLightManager in class Chunkpublic int getLightValue(BlockPos pos)
public void addEntity(Entity entityIn)
public void removeEntity(Entity entityIn)
removeEntity in class Chunkpublic void removeEntityAtIndex(Entity entityIn, int index)
removeEntityAtIndex in class Chunk@Nullable public TileEntity getTileEntity(BlockPos pos, Chunk.CreateEntityType creationMode)
getTileEntity in class Chunkpublic void addTileEntity(TileEntity tileEntityIn)
addTileEntity in class Chunkpublic void addTileEntity(BlockPos pos, TileEntity tileEntityIn)
addTileEntity in interface IChunkaddTileEntity in class Chunkpublic void removeTileEntity(BlockPos pos)
removeTileEntity in interface IChunkremoveTileEntity in class Chunkpublic void getEntitiesWithinAABBForEntity(@Nullable
Entity entityIn,
AxisAlignedBB aabb,
java.util.List<Entity> listToFill,
java.util.function.Predicate<? super Entity> filter)
getEntitiesWithinAABBForEntity in class 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 in class Chunkpublic boolean isEmptyBetween(int startY,
int endY)
public ChunkHolder.LocationType func_217321_u()
func_217321_u in class Chunk