public interface WorldView extends BlockRenderView, CollisionView, BiomeAccess.Storage
| Modifier and Type | Method and Description |
|---|---|
default boolean |
containsFluid(Box box) |
int |
getAmbientDarkness() |
default Biome |
getBiome(BlockPos pos) |
BiomeAccess |
getBiomeAccess() |
default Biome |
getBiomeForNoiseGen(int biomeX,
int biomeY,
int biomeZ) |
default float |
getBrightness(BlockPos pos)
Deprecated.
|
default Chunk |
getChunk(BlockPos pos) |
default Chunk |
getChunk(int chunkX,
int chunkZ) |
default Chunk |
getChunk(int chunkX,
int chunkZ,
ChunkStatus status) |
Chunk |
getChunk(int chunkX,
int chunkZ,
ChunkStatus leastStatus,
boolean create) |
default int |
getColor(BlockPos pos,
ColorResolver colorResolver) |
Dimension |
getDimension() |
default BlockView |
getExistingChunk(int chunkX,
int chunkZ) |
Biome |
getGeneratorStoredBiome(int biomeX,
int biomeY,
int biomeZ) |
default int |
getLightLevel(BlockPos pos) |
default int |
getLightLevel(BlockPos pos,
int ambientDarkness) |
int |
getSeaLevel()
Deprecated.
|
default int |
getStrongRedstonePower(BlockPos pos,
Direction direction) |
default BlockPos |
getTopPosition(Heightmap.Type heightmap,
BlockPos pos) |
int |
getTopY(Heightmap.Type heightmap,
int x,
int z) |
default boolean |
isAir(BlockPos pos) |
default boolean |
isChunkLoaded(BlockPos pos)
Deprecated.
|
boolean |
isChunkLoaded(int chunkX,
int chunkZ)
Deprecated.
|
boolean |
isClient() |
default boolean |
isRegionLoaded(BlockPos min,
BlockPos max)
Deprecated.
|
default boolean |
isRegionLoaded(int minX,
int minY,
int minZ,
int maxX,
int maxY,
int maxZ)
Deprecated.
|
default boolean |
isSkyVisibleAllowingSea(BlockPos pos) |
default boolean |
isWater(BlockPos pos) |
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisiblecanPlace, doesNotCollide, doesNotCollide, doesNotCollide, doesNotCollide, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, intersectsEntities, intersectsEntities, method_27087getBlockEntity, getBlockState, getFluidState, getHeight, getLuminance, getMaxLightLevel, rayTrace, rayTrace, rayTraceBlock@Nullable Chunk getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
@Deprecated boolean isChunkLoaded(int chunkX, int chunkZ)
int getTopY(Heightmap.Type heightmap, int x, int z)
int getAmbientDarkness()
BiomeAccess getBiomeAccess()
@Environment(value=CLIENT) default int getColor(BlockPos pos, ColorResolver colorResolver)
getColor in interface BlockRenderViewdefault Biome getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
getBiomeForNoiseGen in interface BiomeAccess.StorageBiome getGeneratorStoredBiome(int biomeX, int biomeY, int biomeZ)
boolean isClient()
@Deprecated int getSeaLevel()
Dimension getDimension()
default BlockPos getTopPosition(Heightmap.Type heightmap, BlockPos pos)
default boolean isAir(BlockPos pos)
default boolean isSkyVisibleAllowingSea(BlockPos pos)
@Deprecated default float getBrightness(BlockPos pos)
default Chunk getChunk(int chunkX, int chunkZ)
default Chunk getChunk(int chunkX, int chunkZ, ChunkStatus status)
@Nullable default BlockView getExistingChunk(int chunkX, int chunkZ)
getExistingChunk in interface CollisionViewdefault boolean isWater(BlockPos pos)
default boolean containsFluid(Box box)
default int getLightLevel(BlockPos pos)
default int getLightLevel(BlockPos pos, int ambientDarkness)
@Deprecated default boolean isChunkLoaded(BlockPos pos)
@Deprecated default boolean isRegionLoaded(BlockPos min, BlockPos max)
@Deprecated default boolean isRegionLoaded(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)