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
Modifier and TypeMethodDescriptiondefault booleancanSeeSkyFromBelowWater(BlockPos p_175710_1_) default booleancontainsAnyLiquid(AxisAlignedBB p_72953_1_) default Biomedefault 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_) getChunk(int p_217353_1_, int p_217353_2_, ChunkStatus p_217353_3_, boolean p_217353_4_) default IChunkdefault 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_) intDeprecated.intgetUncachedNoiseBiome(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) booleandefault booleanisEmptyBlock(BlockPos p_175623_1_) default booleanMethods inherited from interface net.minecraft.world.IBlockDisplayReader
canSeeSky, getBrightness, getLightEngine, getRawBrightness, getShadeMethods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxBuildHeight, getMaxLightLevelMethods inherited from interface net.minecraft.world.ICollisionReader
getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollision
-
Method Details
-
getChunk
@Nullable IChunk getChunk(int p_217353_1_, int p_217353_2_, ChunkStatus p_217353_3_, boolean p_217353_4_) -
hasChunk
Deprecated. -
getHeight
-
getSkyDarken
int getSkyDarken() -
getBiomeManager
BiomeManager getBiomeManager() -
getBiome
-
getBlockStatesIfLoaded
-
getBlockTint
- Specified by:
getBlockTintin interfaceIBlockDisplayReader
-
getNoiseBiome
- Specified by:
getNoiseBiomein interfaceBiomeManager.IBiomeReader
-
getUncachedNoiseBiome
-
isClientSide
boolean isClientSide() -
getSeaLevel
Deprecated. -
dimensionType
DimensionType dimensionType() -
getHeightmapPos
-
isEmptyBlock
-
canSeeSkyFromBelowWater
-
getBrightness
Deprecated. -
getDirectSignal
-
getChunk
-
getChunk
-
getChunk
-
getChunkForCollisions
- Specified by:
getChunkForCollisionsin interfaceICollisionReader
-
isWaterAt
-
containsAnyLiquid
-
getMaxLocalRawBrightness
-
getMaxLocalRawBrightness
-
hasChunkAt
Deprecated. -
isAreaLoaded
-
hasChunksAt
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.
-