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 boolean
canSeeSkyFromBelowWater
(BlockPos p_175710_1_) default boolean
containsAnyLiquid
(AxisAlignedBB p_72953_1_) default Biome
default Stream<BlockState>
getBlockStatesIfLoaded
(AxisAlignedBB p_234939_1_) default int
getBlockTint
(BlockPos p_225525_1_, ColorResolver p_225525_2_) default float
getBrightness
(BlockPos p_205052_1_) Deprecated.default IChunk
getChunk
(int p_212866_1_, int p_212866_2_) default IChunk
getChunk
(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 IChunk
default IBlockReader
getChunkForCollisions
(int p_225522_1_, int p_225522_2_) default int
getDirectSignal
(BlockPos p_175627_1_, Direction p_175627_2_) int
getHeight
(Heightmap.Type p_201676_1_, int p_201676_2_, int p_201676_3_) default BlockPos
getHeightmapPos
(Heightmap.Type p_205770_1_, BlockPos p_205770_2_) default int
getMaxLocalRawBrightness
(BlockPos p_201696_1_) default int
getMaxLocalRawBrightness
(BlockPos p_205049_1_, int p_205049_2_) default Biome
getNoiseBiome
(int p_225526_1_, int p_225526_2_, int p_225526_3_) int
Deprecated.int
getUncachedNoiseBiome
(int p_225604_1_, int p_225604_2_, int p_225604_3_) boolean
hasChunk
(int p_217354_1_, int p_217354_2_) Deprecated.default boolean
hasChunkAt
(BlockPos p_175667_1_) 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.default boolean
hasChunksAt
(BlockPos p_175707_1_, BlockPos p_175707_2_) Deprecated.default boolean
isAreaLoaded
(BlockPos center, int range) boolean
default boolean
isEmptyBlock
(BlockPos p_175623_1_) default boolean
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 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:
getBlockTint
in interfaceIBlockDisplayReader
-
getNoiseBiome
- Specified by:
getNoiseBiome
in interfaceBiomeManager.IBiomeReader
-
getUncachedNoiseBiome
-
isClientSide
boolean isClientSide() -
getSeaLevel
Deprecated. -
dimensionType
DimensionType dimensionType() -
getHeightmapPos
-
isEmptyBlock
-
canSeeSkyFromBelowWater
-
getBrightness
Deprecated. -
getDirectSignal
-
getChunk
-
getChunk
-
getChunk
-
getChunkForCollisions
- Specified by:
getChunkForCollisions
in 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.
-