IBlockAccess .java

net.minecraft.world.IBlockAccess (interface): members: extendedLevelsInChunkCache, getBiomeGenForCoords, isAirBlock, getCombinedLight, getWorldType.

net.minecraft.worldinterface34 linescommon943 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (6)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

IBlockAccess.java34 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.world;
2
3
import net.minecraft.block.state.IBlockState;
4
import net.minecraft.tileentity.TileEntity;
5
import net.minecraft.util.BlockPos;
6
import net.minecraft.util.EnumFacing;
7
import net.minecraft.world.biome.BiomeGenBase;
8
9
public interface IBlockAccess
10
{
11
    TileEntity getTileEntity(BlockPos pos);
12
13
    int getCombinedLight(BlockPos pos, int lightValue);
14
15
    IBlockState getBlockState(BlockPos pos);
16
17
    /**
18
     * Checks to see if an air block exists at the provided location. Note that this only checks to see if the blocks
19
     * material is set to air, meaning it is possible for non-vanilla blocks to still pass this check.
20
     */
21
    boolean isAirBlock(BlockPos pos);
22
23
    BiomeGenBase getBiomeGenForCoords(BlockPos pos);
24
25
    /**
26
     * set by !chunk.getAreLevelsEmpty
27
     */
28
    boolean extendedLevelsInChunkCache();
29
30
    int getStrongPower(BlockPos pos, EnumFacing direction);
31
32
    WorldType getWorldType();
33
}
34

Deobfuscated MCP 1.8.9 source of IBlockAccess from Marcelektro/MavenMCP-1.8.9 (net/minecraft/world/IBlockAccess.java), stored verbatim.