Package net.minecraft.world
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 Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default booleancanSeeSkyFromBelowWater(BlockPos p_175710_1_)default booleancontainsAnyLiquid(AxisAlignedBB p_72953_1_)DimensionTypedimensionType()default BiomegetBiome(BlockPos p_226691_1_)BiomeManagergetBiomeManager()default java.util.stream.Stream<BlockState>getBlockStatesIfLoaded(AxisAlignedBB p_234939_1_)default intgetBlockTint(BlockPos p_225525_1_, ColorResolver p_225525_2_)default floatgetBrightness(BlockPos p_205052_1_)Deprecated.default IChunkgetChunk(int p_212866_1_, int p_212866_2_)default IChunkgetChunk(int p_217348_1_, int p_217348_2_, ChunkStatus p_217348_3_)IChunkgetChunk(int p_217353_1_, int p_217353_2_, ChunkStatus p_217353_3_, boolean p_217353_4_)default IChunkgetChunk(BlockPos p_217349_1_)default IBlockReadergetChunkForCollisions(int p_225522_1_, int p_225522_2_)default intgetDirectSignal(BlockPos p_175627_1_, Direction p_175627_2_)intgetHeight(Heightmap.Type p_201676_1_, int p_201676_2_, int p_201676_3_)default BlockPosgetHeightmapPos(Heightmap.Type p_205770_1_, BlockPos p_205770_2_)default intgetMaxLocalRawBrightness(BlockPos p_201696_1_)default intgetMaxLocalRawBrightness(BlockPos p_205049_1_, int p_205049_2_)default BiomegetNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)intgetSeaLevel()Deprecated.intgetSkyDarken()BiomegetUncachedNoiseBiome(int p_225604_1_, int p_225604_2_, int p_225604_3_)booleanhasChunk(int p_217354_1_, int p_217354_2_)Deprecated.default booleanhasChunkAt(BlockPos p_175667_1_)Deprecated.default booleanhasChunksAt(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.default booleanhasChunksAt(BlockPos p_175707_1_, BlockPos p_175707_2_)Deprecated.default booleanisAreaLoaded(BlockPos center, int range)booleanisClientSide()default booleanisEmptyBlock(BlockPos p_175623_1_)default booleanisWaterAt(BlockPos p_201671_1_)-
Methods inherited from interface net.minecraft.world.IBlockDisplayReader
canSeeSky, getBrightness, getLightEngine, getRawBrightness, getShade
-
Methods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxBuildHeight, getMaxLightLevel
-
Methods inherited from interface net.minecraft.world.ICollisionReader
getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollision
-
-
-
-
Method Detail
-
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()
-
getBlockStatesIfLoaded
default java.util.stream.Stream<BlockState> getBlockStatesIfLoaded(AxisAlignedBB p_234939_1_)
-
getBlockTint
default int getBlockTint(BlockPos p_225525_1_, ColorResolver p_225525_2_)
- Specified by:
getBlockTintin interfaceIBlockDisplayReader
-
getNoiseBiome
default Biome getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
- Specified by:
getNoiseBiomein interfaceBiomeManager.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.
-
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:
getChunkForCollisionsin interfaceICollisionReader
-
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.
-
-