@Environment(value=CLIENT) public class RenderLayers extends Object
Modifier and Type | Field and Description |
---|---|
private static Map<Block,RenderLayer> |
BLOCKS |
private static boolean |
fancyGraphicsOrBetter |
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,
boolean direct) |
static RenderLayer |
getFluidLayer(FluidState state) |
static RenderLayer |
getItemLayer(ItemStack stack,
boolean direct) |
static RenderLayer |
getMovingBlockLayer(BlockState blockState) |
static void |
setFancyGraphicsOrBetter(boolean fancyGraphicsOrBetter) |
private static final Map<Block,RenderLayer> BLOCKS
private static final Map<Fluid,RenderLayer> FLUIDS
private static boolean fancyGraphicsOrBetter
public static RenderLayer getBlockLayer(BlockState state)
public static RenderLayer getMovingBlockLayer(BlockState blockState)
public static RenderLayer getEntityBlockLayer(BlockState state, boolean direct)
public static RenderLayer getItemLayer(ItemStack stack, boolean direct)
public static RenderLayer getFluidLayer(FluidState state)
public static void setFancyGraphicsOrBetter(boolean fancyGraphicsOrBetter)