public class SingleBlockAccess
extends java.lang.Object
implements net.minecraft.world.IBlockAccess
Modifier and Type | Field and Description |
---|---|
static net.minecraft.util.math.BlockPos |
POS |
net.minecraft.block.state.IBlockState |
state |
Constructor and Description |
---|
SingleBlockAccess(net.minecraft.block.state.IBlockState state) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.world.biome.Biome |
getBiome(net.minecraft.util.math.BlockPos pos) |
net.minecraft.block.state.IBlockState |
getBlockState(net.minecraft.util.math.BlockPos pos) |
int |
getCombinedLight(net.minecraft.util.math.BlockPos pos,
int lightValue) |
int |
getStrongPower(net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing direction) |
net.minecraft.tileentity.TileEntity |
getTileEntity(net.minecraft.util.math.BlockPos pos) |
net.minecraft.world.WorldType |
getWorldType() |
boolean |
isAirBlock(net.minecraft.util.math.BlockPos pos) |
boolean |
isSideSolid(net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
boolean _default) |
public static final net.minecraft.util.math.BlockPos POS
public final net.minecraft.block.state.IBlockState state
public SingleBlockAccess(net.minecraft.block.state.IBlockState state)
public net.minecraft.tileentity.TileEntity getTileEntity(net.minecraft.util.math.BlockPos pos)
getTileEntity
in interface net.minecraft.world.IBlockAccess
public int getCombinedLight(net.minecraft.util.math.BlockPos pos, int lightValue)
getCombinedLight
in interface net.minecraft.world.IBlockAccess
public net.minecraft.block.state.IBlockState getBlockState(net.minecraft.util.math.BlockPos pos)
getBlockState
in interface net.minecraft.world.IBlockAccess
public boolean isAirBlock(net.minecraft.util.math.BlockPos pos)
isAirBlock
in interface net.minecraft.world.IBlockAccess
public net.minecraft.world.biome.Biome getBiome(net.minecraft.util.math.BlockPos pos)
getBiome
in interface net.minecraft.world.IBlockAccess
public int getStrongPower(net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing direction)
getStrongPower
in interface net.minecraft.world.IBlockAccess
public net.minecraft.world.WorldType getWorldType()
getWorldType
in interface net.minecraft.world.IBlockAccess
public boolean isSideSolid(net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing side, boolean _default)
isSideSolid
in interface net.minecraft.world.IBlockAccess