public class WorldGenRegion extends java.lang.Object implements IWorld
| Constructor and Description |
|---|
WorldGenRegion(ChunkPrimer[] chunkPrimersIn,
int sizeXIn,
int sizeZIn,
int mainChunkXIn,
int mainChunkZIn,
World worldIn) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCelestialAngle, getChunkDefault, getCurrentMoonPhaseFactor, getDifficulty, getMoonPhasecanBlockSeeSky, checkNoEntityCollision, checkNoEntityCollision, containsAnyLiquid, func_212388_b, func_212389_a, func_212391_a, func_212392_a, getBrightness, getClosestPlayer, getClosestPlayerToEntity, getCollisionBoxes, getHeight, getLight, getNearestPlayerNotCreative, getNeighborAwareLightSubtracted, hasWater, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isBlockLoaded, isBlockLoaded, isCollisionBoxesEmpty, isCollisionBoxesEmpty, isInsideWorldBordergetMaxLightLevelfunc_212409_a, func_212410_a, func_212411_apublic WorldGenRegion(ChunkPrimer[] chunkPrimersIn, int sizeXIn, int sizeZIn, int mainChunkXIn, int mainChunkZIn, World worldIn)
public int getMainChunkX()
public int getMainChunkZ()
public boolean isChunkInBounds(int chunkX,
int chunkZ)
public IBlockState getBlockState(BlockPos pos)
getBlockState in interface IBlockReaderpublic IFluidState getFluidState(BlockPos pos)
getFluidState in interface IBlockReader@Nullable public EntityPlayer getClosestPlayer(double x, double y, double z, double distance, java.util.function.Predicate<Entity> predicate)
getClosestPlayer in interface IWorldReaderBasepublic int getSkylightSubtracted()
getSkylightSubtracted in interface IWorldReaderBasepublic boolean isAirBlock(BlockPos pos)
isAirBlock in interface IWorldReaderBasepublic Biome getBiome(BlockPos pos)
getBiome in interface IWorldReaderBasepublic int getLightFor(EnumLightType type, BlockPos pos)
getLightFor in interface IWorldReaderBasepublic int getLightSubtracted(BlockPos pos, int amount)
getLightSubtracted in interface IWorldReaderBasepublic boolean isChunkLoaded(int x,
int z,
boolean allowEmpty)
isChunkLoaded in interface IWorldReaderBasepublic boolean destroyBlock(BlockPos pos, boolean dropBlock)
destroyBlock in interface IWorldWriterpublic boolean canSeeSky(BlockPos pos)
canSeeSky in interface IWorldReaderBase@Nullable public TileEntity getTileEntity(BlockPos pos)
getTileEntity in interface IBlockReaderpublic boolean setBlockState(BlockPos pos, IBlockState newState, int flags)
setBlockState in interface IWorldWriterpublic boolean spawnEntity(Entity entityIn)
spawnEntity in interface IWorldWriterpublic boolean removeBlock(BlockPos pos)
removeBlock in interface IWorldWriterpublic void setLightFor(EnumLightType type, BlockPos pos, int lightValue)
setLightFor in interface IWorldWriterpublic WorldBorder getWorldBorder()
getWorldBorder in interface IWorldReaderBasepublic boolean checkNoEntityCollision(@Nullable
Entity entityIn,
VoxelShape shape)
checkNoEntityCollision in interface IWorldReaderBasepublic int getStrongPower(BlockPos pos, EnumFacing direction)
getStrongPower in interface IWorldReaderBasepublic boolean isRemote()
isRemote in interface IWorldReaderBasepublic WorldInfo getWorldInfo()
getWorldInfo in interface IWorldpublic DifficultyInstance getDifficultyForLocation(BlockPos pos)
getDifficultyForLocation in interface IWorld@Nullable public WorldSavedDataStorage getMapStorage()
getMapStorage in interface ISaveDataAccesspublic IChunkProvider getChunkProvider()
getChunkProvider in interface IWorldpublic ISaveHandler getSaveHandler()
getSaveHandler in interface IWorldpublic ITickList<Block> getPendingBlockTicks()
getPendingBlockTicks in interface IWorldpublic ITickList<Fluid> getPendingFluidTicks()
getPendingFluidTicks in interface IWorldpublic int getSeaLevel()
getSeaLevel in interface IWorldReaderBasepublic void notifyNeighbors(BlockPos pos, Block blockIn)
notifyNeighbors in interface IWorldpublic int getHeight(Heightmap.Type heightmapType, int x, int z)
getHeight in interface IWorldReaderBasepublic void playSound(@Nullable
EntityPlayer player,
BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch)
public void spawnParticle(IParticleData particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
spawnParticle in interface IWorldpublic BlockPos getSpawnPoint()
getSpawnPoint in interface IWorldpublic Dimension getDimension()
getDimension in interface IWorldReaderBase