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 boolean
canSeeSkyFromBelowWater(BlockPos p_175710_1_)
default boolean
containsAnyLiquid(AxisAlignedBB p_72953_1_)
DimensionType
dimensionType()
default Biome
getBiome(BlockPos p_226691_1_)
BiomeManager
getBiomeManager()
default java.util.stream.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_)
IChunk
getChunk(int p_217353_1_, int p_217353_2_, ChunkStatus p_217353_3_, boolean p_217353_4_)
default IChunk
getChunk(BlockPos p_217349_1_)
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
getSeaLevel()
Deprecated.int
getSkyDarken()
Biome
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
isClientSide()
default boolean
isEmptyBlock(BlockPos p_175623_1_)
default boolean
isWaterAt(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:
getBlockTint
in interfaceIBlockDisplayReader
-
getNoiseBiome
default Biome getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
- Specified by:
getNoiseBiome
in 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:
getChunkForCollisions
in 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.
-
-