Package net.minecraft.world.level
Interface LevelReader
- All Superinterfaces:
- BiomeManager.NoiseBiomeSource,- BlockAndTintGetter,- BlockGetter,- CollisionGetter,- IForgeBlockAndTintGetter,- IForgeBlockGetter,- LevelHeightAccessor,- SignalGetter
- All Known Subinterfaces:
- CommonLevelAccessor,- LevelAccessor,- LevelTimeAccess,- ServerLevelAccessor,- WorldGenLevel
- All Known Implementing Classes:
- ClientLevel,- Level,- ServerLevel,- WorldGenRegion
public interface LevelReader
extends BlockAndTintGetter, CollisionGetter, SignalGetter, BiomeManager.NoiseBiomeSource
- 
Field SummaryFields inherited from interface net.minecraft.world.level.SignalGetterDIRECTIONS
- 
Method SummaryModifier and TypeMethodDescriptiondefault booleancanSeeSkyFromBelowWater(BlockPos p_46862_) default booleancontainsAnyLiquid(AABB p_46856_) default Stream<BlockState>getBlockStatesIfLoaded(AABB p_46848_) default intgetBlockTint(BlockPos p_46836_, ColorResolver p_46837_) default ChunkAccessgetChunk(int p_46807_, int p_46808_) default ChunkAccessgetChunk(int p_46820_, int p_46821_, ChunkStatus p_46822_) getChunk(int p_46823_, int p_46824_, ChunkStatus p_46825_, boolean p_46826_) default ChunkAccessdefault BlockGettergetChunkForCollisions(int p_46845_, int p_46846_) default intintgetHeight(Heightmap.Types p_46827_, int p_46828_, int p_46829_) default BlockPosgetHeightmapPos(Heightmap.Types p_46830_, BlockPos p_46831_) default floatgetLightLevelDependentMagicValue(BlockPos p_220418_) Deprecated.default intgetMaxLocalRawBrightness(BlockPos p_46804_) default intgetMaxLocalRawBrightness(BlockPos p_46850_, int p_46851_) default intgetNoiseBiome(int p_204163_, int p_204164_, int p_204165_) default floatgetPathfindingCostFromLightLevels(BlockPos p_220420_) intDeprecated.intgetUncachedNoiseBiome(int p_204159_, int p_204160_, int p_204161_) booleanhasChunk(int p_46838_, int p_46839_) Deprecated.default booleanhasChunkAt(int p_151578_, int p_151579_) Deprecated.default booleanhasChunkAt(BlockPos p_46806_) Deprecated.default booleanhasChunksAt(int p_151573_, int p_151574_, int p_151575_, int p_151576_) Deprecated.default booleanhasChunksAt(int p_46813_, int p_46814_, int p_46815_, int p_46816_, int p_46817_, int p_46818_) Deprecated.default booleanhasChunksAt(BlockPos p_46833_, BlockPos p_46834_) Deprecated.default <T> HolderLookup<T>holderLookup(ResourceKey<? extends Registry<? extends T>> p_249578_) default booleanisAreaLoaded(BlockPos center, int range) Deprecated.booleandefault booleanisEmptyBlock(BlockPos p_46860_) default booleanMethods inherited from interface net.minecraft.world.level.BlockAndTintGettercanSeeSky, getBrightness, getLightEngine, getRawBrightness, getShadeMethods inherited from interface net.minecraft.world.level.BlockGetterclip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGettercollidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollisionMethods inherited from interface net.minecraftforge.client.extensions.IForgeBlockAndTintGettergetShadeMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGettergetExistingBlockEntity, getModelDataManagerMethods inherited from interface net.minecraft.world.level.LevelHeightAccessorgetMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeightMethods inherited from interface net.minecraft.world.level.SignalGettergetBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignal
- 
Method Details- 
getChunk
- 
hasChunkDeprecated.
- 
getHeight
- 
getSkyDarkenint getSkyDarken()
- 
getBiomeManagerBiomeManager getBiomeManager()
- 
getBiome
- 
getBlockStatesIfLoaded
- 
getBlockTint- Specified by:
- getBlockTintin interface- BlockAndTintGetter
 
- 
getNoiseBiome- Specified by:
- getNoiseBiomein interface- BiomeManager.NoiseBiomeSource
 
- 
getUncachedNoiseBiome
- 
isClientSideboolean isClientSide()
- 
getSeaLevelDeprecated.
- 
dimensionTypeDimensionType dimensionType()
- 
getMinBuildHeightdefault int getMinBuildHeight()- Specified by:
- getMinBuildHeightin interface- LevelHeightAccessor
 
- 
getHeightdefault int getHeight()- Specified by:
- getHeightin interface- LevelHeightAccessor
 
- 
getHeightmapPos
- 
isEmptyBlock
- 
canSeeSkyFromBelowWater
- 
getPathfindingCostFromLightLevels
- 
getLightLevelDependentMagicValueDeprecated.
- 
getChunk
- 
getChunk
- 
getChunk
- 
getChunkForCollisions- Specified by:
- getChunkForCollisionsin interface- CollisionGetter
 
- 
isWaterAt
- 
containsAnyLiquid
- 
getMaxLocalRawBrightness
- 
getMaxLocalRawBrightness
- 
hasChunkAtDeprecated.
- 
hasChunkAtDeprecated.
- 
isAreaLoadedDeprecated.
- 
hasChunksAtDeprecated.
- 
hasChunksAt@Deprecated default boolean hasChunksAt(int p_46813_, int p_46814_, int p_46815_, int p_46816_, int p_46817_, int p_46818_) Deprecated.
- 
hasChunksAtDeprecated.
- 
registryAccessRegistryAccess registryAccess()
- 
enabledFeaturesFeatureFlagSet enabledFeatures()
- 
holderLookup
 
-