Class RenderTypeLookup


  • public class RenderTypeLookup
    extends java.lang.Object
    • Field Detail

      • TYPE_BY_BLOCK

        @Deprecated
        private static final java.util.Map<Block,​RenderType> TYPE_BY_BLOCK
        Deprecated.
      • TYPE_BY_FLUID

        @Deprecated
        private static final java.util.Map<Fluid,​RenderType> TYPE_BY_FLUID
        Deprecated.
      • renderCutout

        private static boolean renderCutout
    • Constructor Detail

      • RenderTypeLookup

        public RenderTypeLookup()
    • Method Detail

      • getChunkRenderType

        @Deprecated
        public static RenderType getChunkRenderType​(BlockState p_228390_0_)
        Deprecated.
      • getMovingBlockRenderType

        @Deprecated
        public static RenderType getMovingBlockRenderType​(BlockState p_239221_0_)
        Deprecated.
      • getRenderType

        public static RenderType getRenderType​(BlockState p_239220_0_,
                                               boolean p_239220_1_)
      • getRenderType

        public static RenderType getRenderType​(ItemStack p_239219_0_,
                                               boolean p_239219_1_)
      • getRenderLayer

        @Deprecated
        public static RenderType getRenderLayer​(FluidState p_228391_0_)
        Deprecated.
      • setRenderLayer

        public static void setRenderLayer​(Block block,
                                          RenderType type)
      • setRenderLayer

        public static void setRenderLayer​(Block block,
                                          java.util.function.Predicate<RenderType> predicate)
      • setRenderLayer

        public static void setRenderLayer​(Fluid fluid,
                                          RenderType type)
      • setRenderLayer

        public static void setRenderLayer​(Fluid fluid,
                                          java.util.function.Predicate<RenderType> predicate)
      • setFancy

        public static void setFancy​(boolean p_228393_0_)