public interface IWorldReader extends ILightReader, ICollisionReader, BiomeManager.IBiomeReader
| Modifier and Type | Method and Description |
|---|---|
default boolean |
canBlockSeeSky(BlockPos pos) |
boolean |
chunkExists(int chunkX,
int chunkZ)
Deprecated.
|
default boolean |
containsAnyLiquid(AxisAlignedBB bb) |
default Biome |
getBiome(BlockPos p_226691_1_) |
BiomeManager |
getBiomeManager() |
default int |
getBlockColor(BlockPos blockPosIn,
ColorResolver colorResolverIn) |
default IBlockReader |
getBlockReader(int chunkX,
int chunkZ) |
default float |
getBrightness(BlockPos pos)
Deprecated.
|
default IChunk |
getChunk(BlockPos pos) |
default IChunk |
getChunk(int chunkX,
int chunkZ) |
default IChunk |
getChunk(int chunkX,
int chunkZ,
ChunkStatus requiredStatus) |
IChunk |
getChunk(int x,
int z,
ChunkStatus requiredStatus,
boolean nonnull) |
Dimension |
getDimension() |
default BlockPos |
getHeight(Heightmap.Type heightmapType,
BlockPos pos) |
int |
getHeight(Heightmap.Type heightmapType,
int x,
int z) |
default int |
getLight(BlockPos pos) |
default int |
getNeighborAwareLightSubtracted(BlockPos pos,
int amount) |
default Biome |
getNoiseBiome(int x,
int y,
int z) |
Biome |
getNoiseBiomeRaw(int x,
int y,
int z) |
int |
getSeaLevel() |
int |
getSkylightSubtracted() |
default int |
getStrongPower(BlockPos pos,
Direction direction) |
default boolean |
hasWater(BlockPos pos) |
default boolean |
isAirBlock(BlockPos pos) |
default boolean |
isAreaLoaded(BlockPos from,
BlockPos to)
Deprecated.
|
default boolean |
isAreaLoaded(BlockPos center,
int range) |
default boolean |
isAreaLoaded(int fromX,
int fromY,
int fromZ,
int toX,
int toY,
int toZ)
Deprecated.
|
default boolean |
isBlockLoaded(BlockPos pos)
Deprecated.
|
boolean |
isRemote() |
canSeeSky, getLightFor, getLightManager, getLightSubtractedcheckNoEntityCollision, checkNoEntityCollision, func_226663_a_, getCollisionShapes, getCollisionShapes, getEmptyCollisionShapes, getWorldBorder, hasNoCollisions, hasNoCollisions, hasNoCollisions, hasNoCollisionsfunc_217300_a, getBlockState, getFluidState, getHeight, getLightValue, getMaxLightLevel, getTileEntity, rayTraceBlocks, rayTraceBlocks@Nullable IChunk getChunk(int x, int z, ChunkStatus requiredStatus, boolean nonnull)
@Deprecated
boolean chunkExists(int chunkX,
int chunkZ)
int getHeight(Heightmap.Type heightmapType, int x, int z)
int getSkylightSubtracted()
BiomeManager getBiomeManager()
default int getBlockColor(BlockPos blockPosIn, ColorResolver colorResolverIn)
getBlockColor in interface ILightReaderdefault Biome getNoiseBiome(int x, int y, int z)
getNoiseBiome in interface BiomeManager.IBiomeReaderBiome getNoiseBiomeRaw(int x, int y, int z)
boolean isRemote()
int getSeaLevel()
Dimension getDimension()
default BlockPos getHeight(Heightmap.Type heightmapType, BlockPos pos)
default boolean isAirBlock(BlockPos pos)
default boolean canBlockSeeSky(BlockPos pos)
@Deprecated default float getBrightness(BlockPos pos)
default IChunk getChunk(int chunkX, int chunkZ)
default IChunk getChunk(int chunkX, int chunkZ, ChunkStatus requiredStatus)
@Nullable default IBlockReader getBlockReader(int chunkX, int chunkZ)
getBlockReader in interface ICollisionReaderdefault boolean hasWater(BlockPos pos)
default boolean containsAnyLiquid(AxisAlignedBB bb)
default int getLight(BlockPos pos)
default int getNeighborAwareLightSubtracted(BlockPos pos, int amount)
@Deprecated default boolean isBlockLoaded(BlockPos pos)
default boolean isAreaLoaded(BlockPos center, int range)
@Deprecated
default boolean isAreaLoaded(int fromX,
int fromY,
int fromZ,
int toX,
int toY,
int toZ)