public class MinecraftForgeClient
extends java.lang.Object
Constructor and Description |
---|
MinecraftForgeClient() |
Modifier and Type | Method and Description |
---|---|
static RegionRenderCache |
getRegionRenderCache(World world,
BlockPos pos) |
static EnumWorldBlockLayer |
getRenderLayer() |
static int |
getRenderPass() |
static void |
onRebuildChunk(World world,
BlockPos position,
RegionRenderCache cache) |
static void |
releaseStencilBit(int bit)
Release the stencil bit for other use
|
static int |
reserveStencilBit()
Reserve a stencil bit for use in rendering
Note: you must check the Framebuffer you are working with to
determine if stencil bits are enabled on it before use.
|
public static int getRenderPass()
public static EnumWorldBlockLayer getRenderLayer()
public static int reserveStencilBit()
public static void releaseStencilBit(int bit)
bit
- The bit from reserveStencilBit()
public static void onRebuildChunk(World world, BlockPos position, RegionRenderCache cache)
public static RegionRenderCache getRegionRenderCache(World world, BlockPos pos)