@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 bool) |
static RenderLayer |
getFluidLayer(FluidState state) |
static RenderLayer |
getItemLayer(ItemStack stack,
boolean bool) |
static RenderLayer |
method_29359(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 method_29359(BlockState blockState)
public static RenderLayer getEntityBlockLayer(BlockState state, boolean bool)
public static RenderLayer getItemLayer(ItemStack stack, boolean bool)
public static RenderLayer getFluidLayer(FluidState state)
public static void setFancyGraphicsOrBetter(boolean fancyGraphicsOrBetter)