@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
public class RenderCubeCache
extends net.minecraft.world.ChunkCache
| Modifier and Type | Field and Description |
|---|---|
protected int |
cubeY |
| Constructor and Description |
|---|
RenderCubeCache(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos from,
net.minecraft.util.math.BlockPos to,
int subtract) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.block.state.IBlockState |
getBlockState(net.minecraft.util.math.BlockPos pos) |
int |
getCombinedLight(net.minecraft.util.math.BlockPos pos,
int lightValue) |
int |
getLightFor(net.minecraft.world.EnumSkyBlock type,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.tileentity.TileEntity |
getTileEntity(net.minecraft.util.math.BlockPos pos) |
boolean |
isSideSolid(net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
boolean defaultValue) |
public RenderCubeCache(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos from,
net.minecraft.util.math.BlockPos to,
int subtract)
public int getCombinedLight(net.minecraft.util.math.BlockPos pos,
int lightValue)
getCombinedLight in interface net.minecraft.world.IBlockAccessgetCombinedLight in class net.minecraft.world.ChunkCache@Nullable public net.minecraft.tileentity.TileEntity getTileEntity(net.minecraft.util.math.BlockPos pos)
getTileEntity in interface net.minecraft.world.IBlockAccessgetTileEntity in class net.minecraft.world.ChunkCachepublic net.minecraft.block.state.IBlockState getBlockState(net.minecraft.util.math.BlockPos pos)
getBlockState in interface net.minecraft.world.IBlockAccessgetBlockState in class net.minecraft.world.ChunkCachepublic int getLightFor(net.minecraft.world.EnumSkyBlock type,
net.minecraft.util.math.BlockPos pos)
getLightFor in class net.minecraft.world.ChunkCachepublic boolean isSideSolid(net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
boolean defaultValue)
isSideSolid in interface net.minecraft.world.IBlockAccessisSideSolid in class net.minecraft.world.ChunkCache