@Environment(value=CLIENT) public class RenderLayers extends Object
Modifier and Type | Field and Description |
---|---|
private static Map<Block,RenderLayer> |
BLOCKS |
private static boolean |
fancyGraphics |
private static Map<Fluid,RenderLayer> |
FLUIDS |
Constructor and Description |
---|
RenderLayers() |
Modifier and Type | Method and Description |
---|---|
static RenderLayer |
getBlockLayer(BlockState state) |
static RenderLayer |
getEntityBlockLayer(BlockState state) |
static RenderLayer |
getFluidLayer(FluidState state) |
static RenderLayer |
getItemLayer(ItemStack stack) |
static void |
setFancyGraphics(boolean fancyGraphics) |
private static final Map<Block,RenderLayer> BLOCKS
private static final Map<Fluid,RenderLayer> FLUIDS
private static boolean fancyGraphics
public static RenderLayer getBlockLayer(BlockState state)
public static RenderLayer getEntityBlockLayer(BlockState state)
public static RenderLayer getItemLayer(ItemStack stack)
public static RenderLayer getFluidLayer(FluidState state)
public static void setFancyGraphics(boolean fancyGraphics)