Interface IWorldReader

All Superinterfaces:
BiomeManager.IBiomeReader, IBlockDisplayReader, IBlockReader, ICollisionReader
All Known Subinterfaces:
IBiomeReader, IDayTimeReader, ISeedReader, IServerWorld, IWorld
All Known Implementing Classes:
ClientWorld, ServerWorld, World, WorldGenRegion

public interface IWorldReader extends IBlockDisplayReader, ICollisionReader, BiomeManager.IBiomeReader
  • Method Details

    • getChunk

      @Nullable IChunk getChunk(int p_217353_1_, int p_217353_2_, ChunkStatus p_217353_3_, boolean p_217353_4_)
    • hasChunk

      @Deprecated boolean hasChunk(int p_217354_1_, int p_217354_2_)
      Deprecated.
    • getHeight

      int getHeight(Heightmap.Type p_201676_1_, int p_201676_2_, int p_201676_3_)
    • getSkyDarken

      int getSkyDarken()
    • getBiomeManager

      BiomeManager getBiomeManager()
    • getBiome

      default Biome getBiome(BlockPos p_226691_1_)
    • getBlockStatesIfLoaded

      default Stream<BlockState> getBlockStatesIfLoaded(AxisAlignedBB p_234939_1_)
    • getBlockTint

      default int getBlockTint(BlockPos p_225525_1_, ColorResolver p_225525_2_)
      Specified by:
      getBlockTint in interface IBlockDisplayReader
    • getNoiseBiome

      default Biome getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
      Specified by:
      getNoiseBiome in interface BiomeManager.IBiomeReader
    • getUncachedNoiseBiome

      Biome getUncachedNoiseBiome(int p_225604_1_, int p_225604_2_, int p_225604_3_)
    • isClientSide

      boolean isClientSide()
    • getSeaLevel

      @Deprecated int getSeaLevel()
      Deprecated.
    • dimensionType

      DimensionType dimensionType()
    • getHeightmapPos

      default BlockPos getHeightmapPos(Heightmap.Type p_205770_1_, BlockPos p_205770_2_)
    • isEmptyBlock

      default boolean isEmptyBlock(BlockPos p_175623_1_)
    • canSeeSkyFromBelowWater

      default boolean canSeeSkyFromBelowWater(BlockPos p_175710_1_)
    • getBrightness

      @Deprecated default float getBrightness(BlockPos p_205052_1_)
      Deprecated.
    • getDirectSignal

      default int getDirectSignal(BlockPos p_175627_1_, Direction p_175627_2_)
    • getChunk

      default IChunk getChunk(BlockPos p_217349_1_)
    • getChunk

      default IChunk getChunk(int p_212866_1_, int p_212866_2_)
    • getChunk

      default IChunk getChunk(int p_217348_1_, int p_217348_2_, ChunkStatus p_217348_3_)
    • getChunkForCollisions

      @Nullable default IBlockReader getChunkForCollisions(int p_225522_1_, int p_225522_2_)
      Specified by:
      getChunkForCollisions in interface ICollisionReader
    • isWaterAt

      default boolean isWaterAt(BlockPos p_201671_1_)
    • containsAnyLiquid

      default boolean containsAnyLiquid(AxisAlignedBB p_72953_1_)
    • getMaxLocalRawBrightness

      default int getMaxLocalRawBrightness(BlockPos p_201696_1_)
    • getMaxLocalRawBrightness

      default int getMaxLocalRawBrightness(BlockPos p_205049_1_, int p_205049_2_)
    • hasChunkAt

      @Deprecated default boolean hasChunkAt(BlockPos p_175667_1_)
      Deprecated.
    • isAreaLoaded

      default boolean isAreaLoaded(BlockPos center, int range)
    • hasChunksAt

      @Deprecated default boolean hasChunksAt(BlockPos p_175707_1_, BlockPos p_175707_2_)
      Deprecated.
    • hasChunksAt

      @Deprecated default boolean hasChunksAt(int p_217344_1_, int p_217344_2_, int p_217344_3_, int p_217344_4_, int p_217344_5_, int p_217344_6_)
      Deprecated.