接口 LevelReader
- 所有超级接口:
BiomeManager.NoiseBiomeSource
,BlockAndTintGetter
,BlockGetter
,CollisionGetter
,IForgeBlockAndTintGetter
,IForgeBlockGetter
,LevelHeightAccessor
,SignalGetter
- 所有已知实现类:
ClientLevel
,Level
,ServerLevel
,WorldGenRegion
public interface LevelReader
extends BlockAndTintGetter, CollisionGetter, SignalGetter, BiomeManager.NoiseBiomeSource
-
字段概要
从接口继承的字段 net.minecraft.world.level.SignalGetter
DIRECTIONS
-
方法概要
修饰符和类型方法说明default boolean
default boolean
containsAnyLiquid
(AABB pBb) default Stream<BlockState>
getBlockStatesIfLoaded
(AABB pAabb) default int
getBlockTint
(BlockPos pBlockPos, ColorResolver pColorResolver) default ChunkAccess
getChunk
(int pChunkX, int pChunkZ) default ChunkAccess
getChunk
(int pChunkX, int pChunkZ, ChunkStatus pRequiredStatus) getChunk
(int pX, int pZ, ChunkStatus pRequiredStatus, boolean pNonnull) default ChunkAccess
default BlockGetter
getChunkForCollisions
(int pChunkX, int pChunkZ) default int
int
getHeight
(Heightmap.Types pHeightmapType, int pX, int pZ) default BlockPos
getHeightmapPos
(Heightmap.Types pHeightmapType, BlockPos pPos) default float
已过时。default int
default int
getMaxLocalRawBrightness
(BlockPos pPos, int pAmount) default int
getNoiseBiome
(int pX, int pY, int pZ) default float
int
已过时。int
getUncachedNoiseBiome
(int pX, int pY, int pZ) boolean
hasChunk
(int pChunkX, int pChunkZ) 已过时。default boolean
hasChunkAt
(int pX, int pZ) 已过时。default boolean
hasChunkAt
(BlockPos pPos) 已过时。default boolean
hasChunksAt
(int pFromX, int pFromZ, int pToX, int pToZ) 已过时。default boolean
hasChunksAt
(int pFromX, int pFromY, int pFromZ, int pToX, int pToY, int pToZ) 已过时。default boolean
hasChunksAt
(BlockPos pFrom, BlockPos pTo) 已过时。default <T> HolderLookup<T>
holderLookup
(ResourceKey<? extends Registry<? extends T>> pRegistryKey) default boolean
isAreaLoaded
(BlockPos center, int range) 已过时。boolean
default boolean
isEmptyBlock
(BlockPos pPos) default boolean
从接口继承的方法 net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getBrightness, getLightEngine, getRawBrightness, getShade
从接口继承的方法 net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLine
从接口继承的方法 net.minecraft.world.level.CollisionGetter
collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noCollision, noCollision, noCollision
从接口继承的方法 net.minecraftforge.client.extensions.IForgeBlockAndTintGetter
getShade
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity, getModelDataManager
从接口继承的方法 net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
从接口继承的方法 net.minecraft.world.level.SignalGetter
getBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignal
-
方法详细资料
-
getChunk
-
hasChunk
已过时。 -
getHeight
-
getSkyDarken
int getSkyDarken() -
getBiomeManager
BiomeManager getBiomeManager() -
getBiome
-
getBlockStatesIfLoaded
-
getBlockTint
- 指定者:
getBlockTint
在接口中BlockAndTintGetter
-
getNoiseBiome
- 指定者:
getNoiseBiome
在接口中BiomeManager.NoiseBiomeSource
-
getUncachedNoiseBiome
-
isClientSide
boolean isClientSide() -
getSeaLevel
已过时。 -
dimensionType
DimensionType dimensionType() -
getMinBuildHeight
default int getMinBuildHeight()- 指定者:
getMinBuildHeight
在接口中LevelHeightAccessor
-
getHeight
default int getHeight()- 指定者:
getHeight
在接口中LevelHeightAccessor
-
getHeightmapPos
-
isEmptyBlock
-
canSeeSkyFromBelowWater
-
getPathfindingCostFromLightLevels
-
getLightLevelDependentMagicValue
已过时。 -
getChunk
-
getChunk
-
getChunk
-
getChunkForCollisions
- 指定者:
getChunkForCollisions
在接口中CollisionGetter
-
isWaterAt
-
containsAnyLiquid
-
getMaxLocalRawBrightness
-
getMaxLocalRawBrightness
-
hasChunkAt
已过时。 -
hasChunkAt
已过时。 -
isAreaLoaded
已过时。 -
hasChunksAt
已过时。 -
hasChunksAt
@Deprecated default boolean hasChunksAt(int pFromX, int pFromY, int pFromZ, int pToX, int pToY, int pToZ) 已过时。 -
hasChunksAt
已过时。 -
registryAccess
RegistryAccess registryAccess() -
enabledFeatures
FeatureFlagSet enabledFeatures() -
holderLookup
-