public class EmptyChunk extends Chunk
Chunk.CreateEntityType
EMPTY_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, writeCapsToNBT
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_201636_b, getBiome, getCarvingMask, getLastExtendedBlockStorage, getLightSubtracted, getList, getTopFilledSegment, markBlockForPostprocessing, setBiomes
func_217296_a, func_217300_a, getHeight, getMaxLightLevel, rayTraceBlocks
getCapability, getCapability
public BlockState getBlockState(BlockPos pos)
getBlockState
in interface IBlockReader
getBlockState
in class Chunk
@Nullable public BlockState setBlockState(BlockPos pos, BlockState state, boolean isMoving)
setBlockState
in interface IChunk
setBlockState
in class Chunk
public IFluidState getFluidState(BlockPos pos)
getFluidState
in interface IBlockReader
getFluidState
in class Chunk
@Nullable public WorldLightManager getWorldLightManager()
getWorldLightManager
in interface IChunk
getWorldLightManager
in class Chunk
public int getLightValue(BlockPos pos)
public void addEntity(Entity entityIn)
public void removeEntity(Entity entityIn)
removeEntity
in class Chunk
public void removeEntityAtIndex(Entity entityIn, int index)
removeEntityAtIndex
in class Chunk
@Nullable public TileEntity getTileEntity(BlockPos pos, Chunk.CreateEntityType creationMode)
getTileEntity
in class Chunk
public void addTileEntity(TileEntity tileEntityIn)
addTileEntity
in class Chunk
public void addTileEntity(BlockPos pos, TileEntity tileEntityIn)
addTileEntity
in interface IChunk
addTileEntity
in class Chunk
public void removeTileEntity(BlockPos pos)
removeTileEntity
in interface IChunk
removeTileEntity
in class Chunk
public void getEntitiesWithinAABBForEntity(@Nullable Entity entityIn, AxisAlignedBB aabb, java.util.List<Entity> listToFill, java.util.function.Predicate<? super Entity> filter)
getEntitiesWithinAABBForEntity
in class Chunk
public <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 Chunk
public boolean isEmptyBetween(int startY, int endY)
public ChunkHolder.LocationType func_217321_u()
func_217321_u
in class Chunk