net.minecraft.world.level

public interface LevelReader

extends BlockAndTintGetter, CollisionGetter, SignalGetter, BiomeManager$NoiseBiomeSource

dgm
net.minecraft.world.level.LevelReader
net.minecraft.class_4538
net.minecraft.world.WorldView
net.minecraft.world.level.IWorldReader

Method summary

Modifier and TypeMethod
ChunkAccess
a(int arg0, int arg1, dzu arg2, boolean arg3)
getChunk(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
method_8402(int arg0, int arg1, class_2806 arg2, boolean arg3)
getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
boolean
b(int arg0, int arg1)
hasChunk(int arg0, int arg1)
method_8393(int arg0, int arg1)
isChunkLoaded(int chunkX, int chunkZ)
int
a(ect$a arg0, int arg1, int arg2)
getHeight(Heightmap$Types arg0, int arg1, int arg2)
method_8624(class_2902$class_2903 arg0, int arg1, int arg2)
getTopY(Heightmap$Type heightmap, int x, int z)
int
E_()
getSkyDarken()
method_8594()
getAmbientDarkness()
BiomeManager
I_()
getBiomeManager()
method_22385()
getBiomeAccess()
default Holder<Biome>
t(ji arg0)
getBiome(BlockPos arg0)
method_23753(class_2338 arg0)
getBiome(BlockPos pos)
default Stream<BlockState>
c(faw arg0)
getBlockStatesIfLoaded(AABB arg0)
method_29556(class_238 arg0)
getStatesInBoxIfLoaded(Box box)
default int
a(ji arg0, dft arg1)
getBlockTint(BlockPos arg0, ColorResolver arg1)
method_23752(class_2338 arg0, class_6539 arg1)
getColor(BlockPos arg0, ColorResolver arg1)
default Holder<Biome>
getNoiseBiome(int arg0, int arg1, int arg2)
getNoiseBiome(int arg0, int arg1, int arg2)
method_16359(int arg0, int arg1, int arg2)
getBiomeForNoiseGen(int arg0, int arg1, int arg2)
Holder<Biome>
a(int arg0, int arg1, int arg2)
getUncachedNoiseBiome(int arg0, int arg1, int arg2)
method_22387(int arg0, int arg1, int arg2)
getGeneratorStoredBiome(int biomeX, int biomeY, int biomeZ)
boolean
B_()
isClientSide()
method_8608()
isClient()
int
P()
getSeaLevel()
method_8615()
getSeaLevel()
DimensionType
G_()
dimensionType()
method_8597()
getDimension()
default int
L_()
getMinY()
method_31607()
getBottomY()
default int
M_()
getHeight()
method_31605()
getHeight()
default BlockPos
a(ect$a arg0, ji arg1)
getHeightmapPos(Heightmap$Types arg0, BlockPos arg1)
method_8598(class_2902$class_2903 arg0, class_2338 arg1)
getTopPosition(Heightmap$Type heightmap, BlockPos pos)
default boolean
u(ji arg0)
isEmptyBlock(BlockPos arg0)
method_22347(class_2338 arg0)
isAir(BlockPos pos)
default boolean
v(ji arg0)
canSeeSkyFromBelowWater(BlockPos arg0)
method_22348(class_2338 arg0)
isSkyVisibleAllowingSea(BlockPos pos)
default float
w(ji arg0)
getPathfindingCostFromLightLevels(BlockPos arg0)
method_42309(class_2338 arg0)
getPhototaxisFavor(BlockPos pos)
default float
x(ji arg0)
getLightLevelDependentMagicValue(BlockPos arg0)
method_22349(class_2338 arg0)
getBrightness(BlockPos pos)
default ChunkAccess
y(ji arg0)
getChunk(BlockPos arg0)
method_22350(class_2338 arg0)
getChunk(BlockPos pos)
default ChunkAccess
a(int arg0, int arg1)
getChunk(int arg0, int arg1)
method_8392(int arg0, int arg1)
getChunk(int chunkX, int chunkZ)
default ChunkAccess
a(int arg0, int arg1, dzu arg2)
getChunk(int arg0, int arg1, ChunkStatus arg2)
method_22342(int arg0, int arg1, class_2806 arg2)
getChunk(int chunkX, int chunkZ, ChunkStatus status)
default BlockGetter
c(int arg0, int arg1)
getChunkForCollisions(int arg0, int arg1)
method_22338(int arg0, int arg1)
getChunkAsView(int arg0, int arg1)
default boolean
z(ji arg0)
isWaterAt(BlockPos arg0)
method_22351(class_2338 arg0)
isWater(BlockPos pos)
default boolean
d(faw arg0)
containsAnyLiquid(AABB arg0)
method_22345(class_238 arg0)
containsFluid(Box box)
default int
A(ji arg0)
getMaxLocalRawBrightness(BlockPos arg0)
method_22339(class_2338 arg0)
getLightLevel(BlockPos pos)
default int
c(ji arg0, int arg1)
getMaxLocalRawBrightness(BlockPos arg0, int arg1)
method_22346(class_2338 arg0, int arg1)
getLightLevel(BlockPos pos, int ambientDarkness)
default boolean
f(int arg0, int arg1)
hasChunkAt(int arg0, int arg1)
method_33598(int arg0, int arg1)
isPosLoaded(int x, int z)
default boolean
B(ji arg0)
hasChunkAt(BlockPos arg0)
method_22340(class_2338 arg0)
isChunkLoaded(BlockPos pos)
default boolean
a(ji arg0, ji arg1)
hasChunksAt(BlockPos arg0, BlockPos arg1)
method_22343(class_2338 arg0, class_2338 arg1)
isRegionLoaded(BlockPos min, BlockPos max)
default boolean
a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
hasChunksAt(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_22341(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
isRegionLoaded(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
default boolean
b(int arg0, int arg1, int arg2, int arg3)
hasChunksAt(int arg0, int arg1, int arg2, int arg3)
method_33597(int arg0, int arg1, int arg2, int arg3)
isRegionLoaded(int minX, int minZ, int maxX, int maxZ)
RegistryAccess
K_()
registryAccess()
method_30349()
getRegistryManager()
FeatureFlagSet
K()
enabledFeatures()
method_45162()
getEnabledFeatures()
default <T> HolderLookup<T>
a(aku<? extends ke<? extends T>> arg0)
holderLookup(ResourceKey<? extends Registry<? extends T>> arg0)
method_45448(class_5321<? extends class_2378<? extends T>> arg0)
createCommandRegistryWrapper(RegistryKey<? extends Registry<? extends T>> registryRef)