public class EmptyChunk extends Chunk
Chunk.EnumCreateEntityTypeNULL_BLOCK_STORAGE, unloadQueued, x, z| Constructor and Description |
|---|
EmptyChunk(World worldIn,
int x,
int z) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntity(Entity entityIn) |
void |
addTileEntity(BlockPos pos,
TileEntity tileEntityIn) |
void |
addTileEntity(TileEntity tileEntityIn) |
boolean |
canSeeSky(BlockPos pos) |
void |
generateHeightMap() |
void |
generateSkylightMap() |
int |
getBlockLightOpacity(BlockPos pos) |
IBlockState |
getBlockState(BlockPos pos) |
<T extends Entity> |
getEntitiesOfTypeWithinAABB(java.lang.Class<? extends T> entityClass,
AxisAlignedBB aabb,
java.util.List<T> listToFill,
com.google.common.base.Predicate<? super T> filter) |
void |
getEntitiesWithinAABBForEntity(Entity entityIn,
AxisAlignedBB aabb,
java.util.List<Entity> listToFill,
com.google.common.base.Predicate<? super Entity> filter) |
int |
getHeightValue(int x,
int z) |
int |
getLightFor(EnumSkyBlock type,
BlockPos pos) |
int |
getLightSubtracted(BlockPos pos,
int amount) |
java.util.Random |
getRandomWithSeed(long seed) |
TileEntity |
getTileEntity(BlockPos pos,
Chunk.EnumCreateEntityType p_177424_2_) |
boolean |
isAtLocation(int x,
int z) |
boolean |
isEmpty() |
boolean |
isEmptyBetween(int startY,
int endY) |
void |
markDirty() |
boolean |
needsSaving(boolean p_76601_1_) |
void |
onLoad() |
void |
onUnload() |
void |
removeEntity(Entity entityIn) |
void |
removeEntityAtIndex(Entity entityIn,
int index) |
void |
removeTileEntity(BlockPos pos) |
void |
setLightFor(EnumSkyBlock type,
BlockPos pos,
int value) |
checkLight, enqueueRelightChecks, getBiome, getBiomeArray, getBlockState, getBlockStorageArray, getCapabilities, getCapability, getEntityLists, getHeight, getHeightMap, getInhabitedTime, getLowestHeight, getPos, getPrecipitationHeight, getTileEntityMap, getTopFilledSegment, getWorld, hasCapability, isLightPopulated, isLoaded, isPopulated, isTerrainPopulated, markLoaded, onTick, populate, populate, read, removeInvalidTileEntity, resetRelightChecks, setBiomeArray, setBlockState, setHasEntities, setHeightMap, setInhabitedTime, setLastSaveTime, setLightPopulated, setModified, setStorageArrays, setTerrainPopulated, wasTickedpublic EmptyChunk(World worldIn, int x, int z)
public boolean isAtLocation(int x,
int z)
isAtLocation in class Chunkpublic int getHeightValue(int x,
int z)
getHeightValue in class Chunkpublic void generateHeightMap()
generateHeightMap in class Chunkpublic void generateSkylightMap()
generateSkylightMap in class Chunkpublic IBlockState getBlockState(BlockPos pos)
getBlockState in class Chunkpublic int getBlockLightOpacity(BlockPos pos)
getBlockLightOpacity in class Chunkpublic int getLightFor(EnumSkyBlock type, BlockPos pos)
getLightFor in class Chunkpublic void setLightFor(EnumSkyBlock type, BlockPos pos, int value)
setLightFor in class Chunkpublic int getLightSubtracted(BlockPos pos, int amount)
getLightSubtracted in class Chunkpublic 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.EnumCreateEntityType p_177424_2_)
getTileEntity in class Chunkpublic void addTileEntity(TileEntity tileEntityIn)
addTileEntity in class Chunkpublic void addTileEntity(BlockPos pos, TileEntity tileEntityIn)
addTileEntity in class Chunkpublic void removeTileEntity(BlockPos pos)
removeTileEntity in class Chunkpublic void getEntitiesWithinAABBForEntity(@Nullable
Entity entityIn,
AxisAlignedBB aabb,
java.util.List<Entity> listToFill,
com.google.common.base.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, com.google.common.base.Predicate<? super T> filter)
getEntitiesOfTypeWithinAABB in class Chunkpublic boolean needsSaving(boolean p_76601_1_)
needsSaving in class Chunkpublic java.util.Random getRandomWithSeed(long seed)
getRandomWithSeed in class Chunkpublic boolean isEmptyBetween(int startY,
int endY)
isEmptyBetween in class Chunk